Category Archives: PowerShell

SCOM Resource Pool Memebership

I wanted a quick list of all the servers in a 2012 R2 resource pool for documentation rather than go into each on and check it. Haven’t got there yet but I did manage to get a quick way to see what resouce pools a management server belongs to. For a single server $Member = …

Continue reading

PowerShell Get-Member

In the past when I have wanted to find out the names of the fields used by get-scomalert, get-scommanagementpack, get-scomagent etc I have piped the command to a csv file and opened it up in Excel. Just recently I have found out about get-member. This is great for getting a list of the properties or …

Continue reading

Free PowerShell Book

If you wanted to know more about PowerShell then there is a free PDF you can download from http://powershell.com/cs/blogs/ebook/. It is called “Mastering PowerShell” and it is 567 pages long. It is written by Dr. Tobias Weltner. It is useful to know PowerShell for OpsMgr as there are areas where it is very easy to …

Continue reading

Good Stuff for Your Toolkit

Here is a collection of recent additions that I think are useful to have.   Matt Goedtel has done an update on his Extended AP MP. http://blogs.technet.com/mgoedtel/archive/2009/01/25/updated-improved-extended-active-directory-management-pack.aspx   This management pack augments the existing Active Directory management pack by monitoring the following specific components and subsystems that Active Directory relies on, which are not captured …

Continue reading

Resolve Rule Alerts with PowerShell

I was working last week on a little PowerShell script to help me clear off old rule alerts but did not get around to posting about it. Then I saw that Scott Moss has just done a post on the same subject. http://myitforum.com/cs2/blogs/smoss/archive/2008/12/12/om07-powershell-close-all-open-alerts-generated-by-a-rule.aspx Well as I have done the work and mine is more of …

Continue reading

ExBPA Useful View for PowerShell Script

I was wanting to get a list of the Exchange BPA alerts to the Exchange team doing 2007. I did not like the idea of copying and pasting lots of individual alerts. I knew that with a PowerShell get-alert I could export a list of alerts to Excel but how to get only the ExBAP …

Continue reading

Get SP Info from AD

One of the things that is required when you roll out agents is to know that the minimum service pack has been installed. Of course you can find out by trying to deploy the agent. The install failing will tell you but that is not a great strategy. If the customer is really good then …

Continue reading

Create Events

Something that is handy for demos and testing systems is to create events in order to check that rules and monitors work and create alerts to order. Usually if you want an event to happen in the event log it never will. As soon as you turn your back thousands happen. I was confronted with …

Continue reading

Subscription Issues

The organisation I am currently working with has used Alert rules in MOM 2005 to create an event on the management servers when a new alert comes in. There is an agent from their framework package that picks up these events. This is an old trick from the MOM 2000 days but works remarkably well …

Continue reading

SCOM Webcasts and Podcasts

If you can not get to MMS perhaps these webcasts will help. List also at http://www.microsoft.com/events/series/technetmms.aspx?tab=webcasts&id=42365 which is slightly different to the search that I did. Also when searching I came across these podcasts which do not require registration. You can get them in WMA or MP3 and listen to them on the way to …

Continue reading