Archive for the Category: PowerShell

Move all your Windows 8 Hyper-V VM’s to SSD with PowerShell

I built a lab on my Windows 8 laptop consisting of System Center 2012 Configuration Manager, Operations Manager, Configuration Manager, a DC, SQL, and SharePoint. Although it runs so-so on my 7200RPM hard drive I decided to join the club and finally get an SSD for a secondary drive. After months of research I ended […]

Also posted in Microsoft, Windows 8 Tagged , , , Leave a comment

Mass reboot servers and workstations with PowerShell

We’ve got a bunch of servers stuck in pending reboot state due to SCCM updates. There is no way I’m rebooting 50 servers manually! PowerShell to the rescue! Tweet

Also posted in Microsoft Tagged , , , Leave a comment

PowerShell Script To Restart Service And Dependents

Some of my Windows 2008 R2 servers have been reaching over our 80% committed memory threshold more often than preferred. There is a hotfix out as noted on Kevin Holman’s OpsMgr Blog – http://blogs.technet.com/b/kevinholman/archive/2010/06/09/wmi-leaks-memory-on-server-2008-r2-monitored-agents.aspx , however the server admins have not tested and deployed the hotfix yet so in the mean time I needed an […]

Also posted in Microsoft, SCOM Tagged , , , , , , 2 Comments