Using PowerShell to Cleanup WSUS

0 August 1, 2011 in Other, PowerShell by Tim

If you've ever had a WSUS Server get a little bit out of control you'll know that running the WSUS Server Cleanup Wizard can solve the problem. Running this wizard is unfortunately a manual process and it can be a long cleanup process as well because the wizard can take hours and hours to run, even over day in extreme cases! Of course it get's worse when you need to perform the same steps for every WSUS Server you have. Thankfully you can use Windows PowerShell to automate this for you. And that's a good idea to script this largely because you can run this wizard as a preventative maintenance as well.

Read More

PowerShell – Double Quotes vs Single Quotes

0 July 26, 2011 in PowerShell by Tim

Ever wanted to know what the effect will be when you use 'single quotes' versus "double quotes" in Windows PowerShell?

Read More

List SCOM Managed Network Devices using PowerShell

0 July 25, 2011 in PowerShell, SCOM by Tim

How can you get a list of SCOM Managed Network Devices using Windows PowerShell?

Read More

Can not connect to Operations Manager Management Server via PowerShell

0 July 24, 2011 in SCOM by Tim

Recently I opened up the SCOM Operations Manager Shell (from my desktop as I always do – I have the Provider loaded on my workstation) and was presented with an error telling me that I didn't have permission to access the OpsMgr PowerShell. Obviously this was unexpected as this normally worked fine and I could log into the console without any trouble.

Read More

SCOM Rules vs Monitors

0 July 24, 2011 in SCOM by Tim

If I had a dollar for every time I was asked "What's the difference between a Rule and a Monitor" I'd have at least $7. In all seriousness though, Rules vs Monitors is a question that raises it's head every time someone new enters the SCOM Arena.

Read More