Disable AD Account Cleanup script.
I found an automated script on our Exchange server that has been timing out lately. It seems it was running fine until a few weeks ago. It looks like a modified version of this great script,...
View ArticleUsing Powershell Remotely
I have a novice question about using PowerShell remotely...I am trying to do basic remote tasks from my machine using powershell but - it seems I have to enable powershell on the machine I want to...
View ArticleDuplicate mac addresses with different ip addresses on separate DHCP servers
I'm trying to merge split scopes on two dhcp servers into one. The following powershell gives me sort of what I wantPowershell#Get all the scopes in the Primary Server# Modify $PrimaryDHCPServer to the...
View Articlewritting output to screen and file
Hey everyone i'm back! So today I am working on writing a script to terminate a user, I have the whole thing together except one little detail, outputting results to the screen and a file. I have tried...
View ArticlePowershell to run batch file on multiple remote PCs
I run this one works:Textinvoke-command -computername PC123 -scriptblock {start-process c:\folder1\Wsus.bat} I want to run this on multiple PCs --100 or more but it cannot recognize $compText$comp =...
View ArticleCreating PowerShell Strings
Having trouble with PowerShell. I need to add have the variable $propNum be added to the following string. -User "domainname/ou1/ou2/$propNum_Admin" so the result is -User...
View ArticleMove Column in Text file
Hello,A newbie needs help.I have a text file with 10 columns of text delimited by pipe delimitersfor...
View ArticleRenaming CSV with its own Row values Powershell
Hi All,I am fortunate enough to be part of Spiceworks community, I am stuck with the below situation kindly help me out by improving my powershell code:The situation is , I have a path lets say...
View ArticleSchedule Exchange 2010 mailbox moves
HiI have the below script to move mailboxes from one database to other. I need to schedule the move out of hours but the script fails to run when run as a scheduled task. When I call the script within...
View ArticleDesigning Simple GUI for a Powershell Script
Hello Everyone,I am glad that I got this opportunity to be a part of this supreme community and I truly realize the Wisdom of knowledge out here. With the help of many superiors out here I finally...
View ArticleRollback List Of Recently Patched Servers Powershell
Hi All,I am trying to design a Powershell Script that could actually rollback all the patches installed in the patching schedule.Let me make it more clear I have a CSV that contains list of servers and...
View ArticlePowershell Script Assistance: Add Logging-In User to Local Administrators Group
I need assistance on this script.The purpose of this script is to automatically grant local administrator rights to a user logging into the system. The creator (Halcoberry) explains that the script...
View ArticleExchange 2010 ScriptingAgentConfig.xml - enable-mailbox - cmdlet extension agent
Hi guys, calling in some spice heads help on this.I'm pulling my hair out trying to get Exchange cmdlet extension agent to work with Enable-Mailbox.I've found some useful commands that can be run after...
View ArticleUse PowerShell to move computers in Domain from one container to another
Are there any basic command line to move Computer from one container to another?And maybe use a text file to place the list?Thanks
View ArticleRobocopy to network location powershell script error prompt
I am new to powershell scripting, and I have a working script that backs up a select folder to a network location, and creates an error log on a separate internal resource. Now I am trying to create an...
View ArticlePowershell - Validate Hyper-V replication
Having a little problem with a script I would like to use to check the health of hyper-v replication between 2 hosts. I would like the script to notify by e-mail if the health status of any VM is not...
View ArticlePowerShell Issue
Let me start by saying I am a PS newbie! I can find my way around batch files with relative ease, been doing that since the days of DOS. I've looked and looked for answers and just cant find anything...
View ArticleFirst Powershell Script
I just wrote my first script to delete old files from a storage server. I used an example I saw online and made adjustments to make it work in our environment. I have scheduled it using Martin's How-To...
View ArticleDisk Space Monitoring – Predict When Full (Powershell/VBScript/C#.NET/WPF)
Hello Everyone,I am once again on my feet and seeking for a help from all you tech Supremes,This time I need help in designing a tool or a script that is capable of Disk Space Monitoring and predicting...
View ArticleCreating Windows Basic Task using powershell
Hello Everyone,Please help me out in the below situation:I have to create a basic windows task using powershellto run a script on aspecific date and time.Let memake it even clear :I have...
View Article