Posted by Tao Yang on 31/01/2012 in
SCCM |
∞
I have just updated the SCCM Health Check Script to from version 3.3 to 3.5 Version 3.4 was finished a while back but I never got time to publish it in this blog. I only emailed 3.4 to few people who contacted me from my blog. Now that I’ve updated it again to 3.5, I [...]
Tags: Health Check, Powershell, SCCM
Posted by Tao Yang on 29/01/2012 in
PowerShell,
SCOM |
∞
Few years ago, I wrote the Enhanced SCOM Alert Notification script and I blogged it here. In all the environments that I implemented this script in command notification channel, there were always some random alerts not been processed. Few months ago, I was working on another PowerShell script to be used in command notification channel [...]
Tags: Command Notification, SCOM
Posted by Tao Yang on 28/01/2012 in
SCOM |
∞
Recently I’m working on a management pack for a series of apps for a business unit of my employer. There is a large number of processes that I need to monitor and they run interactively on the console session. Auto Admin Logon is enabled on these servers, when the server starts up, it automatically logged [...]
Tags: MP Authoring, SCOM
Posted by Tao Yang on 27/01/2012 in
SCOM |
∞
Setting up Performance Collection rules for a particular process is pretty straightforward in SCOM. However, the it has it’s limitations. Process performance collections rules are straightforward to setup, as long as there is ONLY ONE instance of the particular process running on the computers that your rule is targeting. Also, each rule can only collect [...]
Tags: MP Authoring, PerfMon, SCOM
Posted by Tao Yang on 27/01/2012 in
SCOM |
∞
When writing a Probe Action Module to run a trigger only PowerShell script and return property bags, Microsoft.Windows.PowerShellPropertyBagTriggerOnlyProbe module can be used. However, there is no trigger only probe module if you want to run VBScript. Below are 2 examples how to create trigger only probe modules for both PowerShell and VBScript: 1. PowerShell Member [...]
Tags: MP Authoring, SCOM
Posted by Tao Yang on 25/01/2012 in
SCOM |
∞
This is how I configured recovery task to run a batch file: Actions Module Type: System.CommandExecuter Module Configuration Application Name: C:\Windows\System32\cmd.exe Working Directory: C:\Windows\System32 CommandLine: /c <Path to Batch file> (i.e. /c C:\Apps\DelFile.bat) TimeoutSeconds: <i.e. 60> RequiredOutput: true
Tags: SCOM
Posted by Tao Yang on 11/01/2012 in
PowerShell |
∞
I wrote this function in the script from my previous post “SCOM MP Authoring Example: Generate alerts based on entries from SQL Database (Part 2 of 2)”. It comes handy sometimes so I thought I’ll blog it separately as well. In PowerShell Datetime object, there is a ToUniversalTime() method that converts local time to UTC [...]
Tags: Powershell
Posted by Tao Yang on 05/01/2012 in
SCOM |
∞
This is the 2nd part of the 2-part series. Part 1 can be found here. In Part 2, I’ll cover the steps involved to create each module type and the rule in this article. all these objects will be created in SCOM 2007 R2 Authoring Console. You can create a new management pack for this [...]
Tags: Featured, MP Authoring, Powershell, SCOM
Posted by Tao Yang on 04/01/2012 in
SCOM |
∞
This is probably going to be a bit too long for one single blog post. I’ll separate this topic into 2 articles: Part 1 includes the background and overview of the rule and it’s workflow Part 2 documents all the steps to create all the module types and the rule itself. This article is the [...]
Tags: Featured, MP Authoring, SCOM