-
What happens behind the scenes when you run a PowerShell Command for SCOM?
So have you ever wondered what happens when you run a PowerShell command against your SCOM environment? Of course you have or you wouldn’t be here. Well you probably wouldn’t be surprised to learn that behind the scenes a lot of PowerShell cmdlets are really only performing a SQL query against your SCOM Databases.
-
Using PowerShell to perform a WhoIs Lookup
There’s a lot of things that PowerShell can do and when coupled with a Web Service Provider, it can also do a lot of things over the internet. Like this example where I’ll use the New-WebServiceProxy cmdlet to connect to a web service and do a WHOIS lookup.
-
Using Explicit or Dynamic Groups in SCOM
When you create Groups in SCOM you have the option of populating those groups with Explicit members or Dynamic members. If you don’t know what the difference is, basically “Explicit” Group Membership is where you list those agents that should be part of the group. In a Dynamic Group you can use Regular Expressions and […]
-
SCOM Alert Description Variables
So you want to create an alert for your new SCOM Monitor or Rule but you don’t know what values you need to insert into the Alert Description?
-
What is the SCOM Group Calculations Interval?
Group calc is a law unto itself and whilst I’d love to explain it, that’s for another time. However normal group calcuations occur (on a default installation of SCOM) every 30 seconds. If you work in a corporate environment with a lot of SCOM groups then I’d bet that you’d have changed this value.
-
Working with the SCOM PSDrive
Ever wondered how you can navigate around in SCOM using Windows PowerShell? So click “Start” and load up the “Operations Manager Shell”.
-
SCOM Get-Alert -critera or where-object?
For any of you that work with SCOM and the Operations Manager Shell on a regular basis, you’d recognize this sort of command. get-alert | ? {$_.Name -eq “Unable to Verify Run As Account”}
-
What does “Remoteable” mean?
When you look at the properties of a monitor in the SCOM Authoring Console, there is a checkbox called “Remoteable”… what does it mean?
-
Comparison Operators
Here’s a list of Comparison Operators for use in Windows PowerShell -Lt Less than -Le Less than or equal to -Gt Greater than -Ge Greater than or equal to -Eq Equal to -Ne Not Equal to -Like Like wildcard pattern matching -NotLike Not like wildcard pattern matching -Match Regular expression pattern matching -NotMatch Regular expression […]