Replace Backslash in variable with Powershell

Sometimes when we automate things, some technologies don’t play nice with characters we’ve gotten from a different technology. Case in point, my recent post about documenting your SCOM Distributed Applications, I found a test case where a user entered a backslash in the name of a Distributed Application. When Powershell was trying to enter this …

Read more

Installing Powershell Modules on Servers with no Internet

Recently I was trying to install the Powershell ISE SMA Addon on our server that will serve as our development server for our SMA Runbooks. The problem is that the server doesn’t have any internet access. Normally you could do Install-module -name SMAAuthoringtoolkit and Powershell would go and get it for you, however this doesn’t …

Read more

Document your SCOM Distributed Applications with Powershell and Excel

Edit 8/27/2018: added Github link: Github repo here https://github.com/scautomation/Document-SCOM-Distributed-Aps For every consulting project I do one of the requirements is documentation. I like to provide more documentation than required, which is why I give my SCOM clients a general How To document if they are new to SCOM. I also provide documentation on the SCOM …

Read more

Working with the SCOM Powershell Module

Working with SCOM in the console and working with the SCOM Powershell module are two vastly different things. Powershell is much quicker, especially for getting lots of data and related objects at once. However, if you haven’t worked very much with the Operations Manager Powershell Module very much, these might be a few quirks or …

Read more

Automate SCOM Group Creation

Creating SCOM Groups can be tedious. Creating dozens of SCOM groups each with multiple members can be a long task indeed. I searched and searched and thought surely someone somewhere has come up with some Powershell to do this task. I could not find anything. Enter Tao Yang and his OpsMgrSDK Powershell Module. If you …

Read more

Send OMS Search Results to Azure Automation: The Easy Way

A few weeks ago the Operations Management Suite (OMS) product team announced that you could include search results in webhook payloads. Article here. This is really useful if you are into automation and specifically Azure Automation. It is now much easier in my opinion to get pertinent data to Azure Automation from OMS when you …

Read more