Finding Multihomed OpsMgr agents with PowerShell

This week I got some questions about Multihoming agents. As you know, a multihomed architecture is based on the concept of an agent reporting to two (or more) management groups. But first I wanted to know how I could see if an agent was a multihomed agent and I used PowerShell to look into the…


AddToDistList Tool – Adding a computer to the Distribution list on a RunAs Account

Some weeks ago I saw a question about how to use PowerShell for the ApproveCredentialForDistribution method. This Method Approves a secure credential for distribution to a list of MonitoringObject objects or PartialMonitoringObject objects. Calling this method adds the specified list to the already existing approved list in the system. You use this method when you…

5

What is the impact of the OpsMgr Web Console on the RMS?

This week I had a conversation with a customer who wanted to offer their admins OpsMgr Web Consoles instead of the “normal” fat-client OpsMgr Consoles. Most customers think that the Web Console would have less impact on the RSM as the “normal” fat-client. But when we look in the Operations Manager 2007 Performance and Scalability…

1

2011 Scripting Games

              Grab this badge here! Last year I participated for the first time in the Scripting Games and it was a great experience because I was the lucky winner of PowerShell ASP software from n/Software. But now it’s your chance to participate in the 2011 Scripting Games. The 2011…


Pulling OpsMgr Company Knowledge from Management Pack and send it to email

Some weeks ago I got a question from Marnix Wolf asking if it’s possible to retrieve Company Knowledge for a monitor or rule and sent that as email. And after an evening playing around with PowerShell I created a PowerShell script that could do exactly that.   Pre-requisites: OpsMgr 2007 (R2) PowerShell version 2.0 (I…

2

Download VHD Test Drive – System Center Operations Manager 2007 R2 with PowerShell and Bits

Just in case you were interested in test driving Operations Manager 2007 R2, we published a VHD several days ago, you can download it here. Jeremy Pavleck questioned why it’s only available as a 13 part RAR file, and doesn’t use the typical MS File Transfer Manager like we get on MSDN to download it…


Compare two different csv files using PowerShell

Today I needed to compare two csv files with results from SQL queries from the OperationsManager database and the OperationsManagerDW database. I run the SQL queries on both OperationsManager databases and saved the result to a csv file. Now I needed to quickly compare the results from both csv files, and what better way than…

10

Sneak preview of sealed MPs using PowerShell

Today I needed to check if a customer had installed the latest versions of available Management Packs. And there are many tools that can help you with that, but I wanted to know if the downloaded MP files had a newer version than the ones installed in the Management Group. I could have used  Boris…


Checking Server Roles with PowerShell

Today I’m rebuilding some of my demo servers in my demo environment and before I can install the software, some pre-requisites need to be checked. You need to check if some Windows Server Roles are installed before starting the installation. Off course you can just use the Server Manager to check the Roles and if…

11

Last two blogposts

Hi people, I’m sorry but I had to remove my last two blogposts about OpsMgr vNext because there is no public beta available yet. I got a little too excited when opening the PowerShell command Shell. If you are still interested in what is coming in the next version of OpsMgr you can watch this…