Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

How to get this PowerShell command to output to a txt file

HiI have been asked to gather info on certain files for work (only so many layers deep an with sizes, dates). I have cobbled together the following commands that have given me the info I need. I really...

View Article


Windows PowerShell Command 'Import-Topic' not Working

As part of creating a Windows 10 reference image I am trying toconnect to the deployment share using Windows PowerShell.The script provided in...

View Article


Calling vbs in Powershell

I'm tasked with verifying product keys for some Office 2010 & 2013 H&B keys. It's about 80 machines and running the ospp.vbs manually would take to long. The problem I'm running into is trying...

View Article

Powershell Script Windows 10 Apps removal

I found this power shell script to remove all the crap that comes with windows 10 for a domain environment. For some reason when I double click on the ps1 it wont run it only runs in the Powershell...

View Article

Powershell - If user part of a specfic group then export as csv

PowershellImport-ModuleActiveDirectory%uFEFF[array]$members=$null$users="user1","user1","user3"$group="Group1"$members=Get-ADGroup-identity"$Group"-PropertiesMembers|Select-Object-ExpandPropertyMembers...

View Article


Powershell Test-Connection Color the Output in CSV file.

I am looking to add cell color ti a csv file, but i am thinking I need excel-extinction for this to...

View Article

Powershell IE Automation issue

I'm attempting to automate an Intranet site by filling in a form and submitting it.I can log in fine, navigate to the page and populate the form fields. However, I can't seem to get the form to submit....

View Article

Powershell using regular expressions with array variables.

I've been trying to use regular expression in a PowerShellscript in tandem with arrays so that if I call the value $Array[0] how would Iinclude the regex modifier to make it end of line. or really any...

View Article


Powershell Web Service Object Conversion Error.

I have a bit of a weird one here, maybe someone can help me piece together WTF is happening.Environment:PS v2.0 (not able to upgrade)Windows Server 2008 non-R2 (shouldn't matter)I have some code that...

View Article


Had fun with this script! PC finished rebooting e-mail notification

No longer play the guessing game wondering when your server is finished rebooting and able to be logged into.This simple script is designed to be added as a scheduled task that runs at system...

View Article

proxyAddresses script

Hi SpiceheadsI'm looking for a script that is able to change the attribute "proxyAddresses" in AD.I need to change the proxyaddress from any uppercase letters to all lowercase letters.But without...

View Article

Powershell script problems

Hi all, I've been amending a script for my company that will allow us to archive data on our network drive using a Robocopy Powershell script. It's currently set to exclude a certain set of folders,...

View Article

how to add members from one group yo other?

i'm new here and i don't know to use power shell and i want to add all members of one group to other..please guide me

View Article


Regex to strip out department number

I'm not horrible with PowerShell, but regex baffles me. Can someone help me figure out how to do this?  I have a bunch of department names that are prefixed with department numbers. I need to strip off...

View Article

Image may be NSFW.
Clik here to view.

Using Powershell to find stale computer accounts in AD

Trying to get my feet wet with Powershell so I can use it to scavenge our domain for old computer account so I can remove them. I have a Windows 7 Pro PC that's running RSAT but when I open powershell...

View Article


Powershell script- password information

Forgive me I am still new to scripting.I made the script below to verify password information. However, I want multiple people here to user it. So I would like to make the "username" field a fill in...

View Article

(Powershell) help on disk percentage size changing html colors

Good Afternoon All,I am having problems with an html disk space report for the servers in our domain. I can get the results without issue but the trick is changing colors based on percentage free. What...

View Article


Exchange mount points threshold html report

I have a Powershell script to report on a list of Exchange server mount points freedisks space. I can't figure out how to get my html report to highlight a the cell in the DbVolumeFreeSpace is below...

View Article

Powershell Script

I am trying to get a working PS script that backs up most recent data dating back to 15 days, I want to have it scheduled to run every 15 days. I am backing up .tiff images but they are created daily...

View Article

Generate Error, Success Logs On powershell script for Importing Bulk AD user

This Script will the best Bulk AD user creation script for me, if I am able to Generate success and error logs.This script just requires FirstName and Lastname on Csv that cut offs few minutes. Need...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>