Tag Archives: 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 […]

Microsoft, PowerShell, Windows 8 Also tagged , , Leave a comment

Report on SCOM Alert Notification Subscriptions

Trouble tracking down alert notifications? A good word of advice is to be sure to include the notification subscription ID in your alert channel, such as follows… Alert: Logon Failures – Multiple failures by same User on single Machine Severity: 2 Source: ADS04.Domain.pvt Path: ADS04.Domain.pvt Last modified by: System Last modified time: 9/22/2011 11:47:49 AM […]

Microsoft, SCOM Also 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

Microsoft, PowerShell Also tagged , , Leave a comment

Resetting Logical Disk Fragmentation Monitor via PowerShell

I’ve been goog..errr bing’ing trying to look for a solution and most everyone points to the GreenMachine. Although a great and powerful tool that I have used on occasion, for some reason it does not filter for monitors in “Warning” only state and I cannot filter by monitor. In this case I will be resetting […]

Microsoft, SCOM Also 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 […]

Microsoft, PowerShell, SCOM Also tagged , , , , , 2 Comments