Robocopy list of profiles powershell help pls
OK I have powershell creating a list of profiles accessed in the last 45 days and outputting it to a text file profiles.txt, that is working fine. I than need to copy the profiles from that list to a...
View ArticleRemotely Modifying List of Registry Keys from List of Computers
Spiceheads, I'm working on remotely modifying an autologin key value on batches of PCs at a time, and have run into a bit of a 'red tape' snag. I put together the Powershell script below for this task...
View ArticlePowershell script proof
I'm having an issue with a script I've been working on. The script should first load a number of modules, then load some stored creds and connect to the Office 365/Exchange Online environment. It then...
View Articleappend text from same file name in several folder to a new file
OK this will be easy for someone just not me :-( I have a folder called \date it has several sub folders and each of those has a file called profiles.txt I need to append the text from each of those...
View ArticleNeed to add an Exclusion to a Ex2010 mailbox PS script
Ok.. having a bit of a Powershell mind blank. We have a script that moves mailboxes from Exchange 2003 to Exchange 2010 on a DB level. However we need to exclude certain users from these moves due to...
View ArticlePowershell script for getting folder sizes
Howdy: I need a Powershell script that will tell me the sizes of each individual folder in C:\Users\Shares on my SBS2011 server. I thought Get-Item C:\Users\Shares would work, but i got nothing back...
View ArticlePowerShell Script Windows XP
So I have a powershell script setup in Group Policy to map the network drives. Which is does perfectly for windows 7 machines. Now does anyone have an advice on how to get the scripts to run on...
View Articleupload file success or failure
I found another post on here about how to FTP upload some files. it's working great, but I want to have a bit more information output. Here's snippet of what I have and what I'd like to doforeach...
View ArticleBacking up Event Logs with get-wmiobject
Hey i found a script (if you are reading an wrote this thanks) # Config $logFileName = "Security" # Add Name of the Logfile (System, Application, etc) $path = "e:\seclogs\" # Add Path, needs to end...
View ArticlePowershell script help to delete user folders help please
Hello! The legal organization that employs me is implementing an Exchange 2010 retention policy to move messages to an Exchange archive database after they reach a certain age. This works well for us;...
View ArticleChanging Share permissions on 950 user accounts in the same folder
I need to re-install a server OS but to increase the OS drive size I need to move my Student home folders to another drive so I can re-partition the RAID V array. I copied the files to another drive I...
View ArticleFiltering multiple values in PowerShell
So I'm working on a cool PowerShell script but I'm hung up filtering out objects that have different descriptions in their AD User Object. Here's the command I'm trying in the script. I'm sure I'm not...
View ArticlePowerShell Regex match everything before character
I am working on a PowerShell script. I have a string where I need to match every character in that string before the first delimiter / There are multiple / in the string, I just need whatever text is...
View ArticleCannot display the prompt for "Identity" because type "Microsoft.Exchange.Config
So I've been working on a cool script in PowerShell that disables users if they've not logged on in x number of days along with some other stuff. One of those items is to remove them from the GAL in...
View ArticlePowerGUI 3.7.0.92 was released today
FYI... Check here for the download and documentation: http://www.powergui.org/entry.jspa?externalID=4102&categoryID=21 (files are listed in the right hand column)
View ArticlePowershell script for WSUS to decline IA64
I'm trying to weed out and decline itanium updates from my WSUS server to save space. I found a technet page that gave me an almost ready to go script (just change environment variables). Link...
View ArticleHow to get GPO info via powershell - SYSVOL FILE PATH, MODIFICATION DATE on DC's
Afternoon all, I was after some advice on which is the best way to get GPO information via powershell for the following on all Domain Controllers : POLICY NAME, SYSVOL FILE PATH, MODIFICATION DATE Any...
View ArticlePowershell HTML Help
I have a simple script that works perfectly, but the output is what I need help with. Here is my script. # Clear Screen cls # Pre Work Asnp Citrix.* -ErrorAction SilentlyContinue Add-PSSnapin...
View ArticlePowerShell learning
Howdy: I am finding Powershell to be one the most powerful tools I can use on my domain for a variety of tasks. That said, I have been relying, mostly, on the PowerShell skills of others, and...
View ArticlePowershell - Updating array object
I had asked a question a few days ago (http://community.spiceworks.com/topic/365941-powershell-regex-match-everything-before-character?page=1#entry-2411655) With that question comes another... I am...
View Article