Kåre Rude Andersen's Blog

"OpsMgr or SCOM - Now its OMS"




21st Nov 2011

New Operations Manager 2012 Training

  Next version of Operations Manager will be released first half of 2012, but already now you can get a solid training on its new features as well as the upgrade path from earlier version. This unique training is based on Operations Manage 2012 RC version of the product and is targeted at level (300). […]

Category: Operations Manager 2012  |  Comment

17th May 2011

Exchange and Activesync: Limiting the mailbox to sync with only one device

Just came back from a customer which needed to limit the number of mobile device to one per mailbox. For this implementation the customer used all kind of smart phones, so the challange was also to find the unique Device ID from the Smartphone and add it to a Active Directory Attribute called: msExchMobileAllowedDeviceIDs. I […]

Category: Exchange, Powershell  |  Comment

12th Apr 2011

Restart a service and all antecedent from a Task in OpsMgr

Now its time to use a vbs script to ensure that all services are stopped and started in the correct way – so if any services are dependent on other they will be restated as well. First Create a new task from your Console: Let it be an Agent Tasks and Remember the Management Pack: […]

Category: Operations Manager 2007  |  1 Comment

12th Apr 2011

Restart a Service with a Task

If you need to restart a service with a Task, you can create a Task like this: Use either a command file or an vbs script – this sample shows using a command shell file with this content: And at the end you could run it from your Computer State View.

Category: Operations Manager 2007  |  1 Comment

11th Apr 2011

“How to Raise Alert from Microsoft Outlook in OpsMgr 2007” or a New Outlook Connector to Operations Manager 2007 R2

Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group […]

Category: Operations Manager 2007, Scripting, VBScript  |  6 Comments

6th Apr 2011

Cannot use comma when defining SLA in OpsMgr 2007

  If you are one of the guys who unfortunately live in other countries than an english spoken one – you could have problems with defining your SLA on e.g. a distributed application. But try to Log in on your RMS with the service account and change regional setting to your locale, and then you […]

Category: Home, Operations Manager 2007  |  Comment

6th Apr 2011

Report based on Agent Install Date

Need to see all your Agents and the Install date / time – run this query – or download the report and import it. SELECT Path, InstallTime FROM BaseManagedEntity INNER JOIN MT_HealthService ON BaseManagedEntity.BaseManagedEntityID = MT_HealthService.BaseManagedEntityId Where InstallTime > ‘2009-21-02’ And a Report file, if you want to deliver your Operations Manager Administrators the nice […]

Category: Agent Installation, Operations Manager 2007  |  1 Comment

5th Apr 2011

Account for Command Channel when using Notification in OpsMgr 2007 R2

Have you ever tried to create a command as a Notification Channel in OpsMgr 2007? – Normally you would expect it to use the Notification Account Profile since this is the account which have been designed for this, and this account is sure doing the job on Instant Messenger and SMTP – But when you […]

Category: Operations Manager 2007  |  2 Comments

21st Mar 2011

Changing Alert Resolution State automatically

If you need to change the Resolution State when a new Alert appears, or change the status of an alert from a specific source or a given period of time, it could be done with a script. The script will be called by creating a Notification. Often you specify a SMTP, SMS or IM as […]

Category: Home, Operations Manager 2007  |  5 Comments

8th Dec 2010

Building a Discovery and a Group based on Computername Convention

To create a Group and a rollup for all your DNS servers like: DkCphDNS0xx you could create your own Management Pack like this walk through. The code used in the example is from Jonathan Almquist\s blogpost: http://blogs.technet.com/b/jonathanalmquist/archive/2010/04/28/how-to-create-a-computer-group-in-the-r2-authoring-console.aspx and in this example the code is like this: <RuleId>$MPElement$</RuleId> <GroupInstanceId>$MPElement[Name=”MP_RWSiteServers.RWSiteServersGroup”]$</GroupInstanceId> <MembershipRules> <MembershipRule> <MonitoringClass>$MPElement[Name=”Windows!Microsoft.Windows.Computer”]$</MonitoringClass> <RelationshipClass>$MPElement[Name=”SC!Microsoft.SystemCenter.ComputerGroupContainsComputer”]$</RelationshipClass> <Expression> <Contains> <MonitoringClass>$MPElement[Name=”MP_RWSiteServers.SiteServers”]$</MonitoringClass> […]

Category: Home  |  1 Comment