Category: Powershell

0 commentsManagement PacksPowershellSCOM 2012SCOM 2016

Export SCOM Rule and Monitor Knowledge Articles with PowerShell

This has been baked into the SCOMHelper PowerShell module available here. Related: How to Get Knowledge Article from a SCOM Alert with Powershell This will output workflow information (including Knowledge Article content) to an HTML report or CSV file. Script accepts one or more (or all) management pack objects as input. Can export from SCOM using ….  Read More

2 commentsPowershellSCOM 2012SCOM 2016Powershell SCOM Administration Operations Manager Shell

SCOM Operations Manager Shell PowerShell Error When Launched as Administrator

Sometimes when the Operations Manager Shell is opened as an Administrator you will see the error in the screenshot below. I believe this has to do with how User Account Control (or UAC) is configured. The “Start in” parameter on the shortcut is ignored and the shortcut is unable to locate the startup scripts. “.\OperationsManager\Functions.ps1 ….  Read More

0 commentsPowershellSCOM 2012powershellscom 2012standalone certificate authoritywindows server 2012

Install Standalone CA (Certificate Authority) on Windows Server 2012 R2 for use with Operations Manager

After looking around a bit I couldn’t find a decent tutorial that addressed this specific scenario (not one that demonstrated Powershell anyway). I ended up writing this for a client who didn’t have their PKI infrastructure sorted out yet. I prefer to use Powershell as it is much faster and efficient for these steps. (Just ….  Read More

0 commentsPowershellSCOM 2012

Set Primary and Failover Management Servers for Agent Managed Computers with Powershell

Here’s an easy script to set the primary and secondary management servers for all agent managed computers in your management group. Just run this on any management server: *Note: this script works well for agents that have never been assigned parent/failover with PowerShell. Once you use PowerShell to assign parents, it becomes problematic to assign ….  Read More