SCO 2012: Use Operations Manager Integration Pack without installing OpsMgr Console on runbook servers

I recently had a friend ask of how to use the IP for Operations Manager without installing the OpsMgr Console on all runbook servers.   Actually, the reason for having the console installed is that the actvities need some SDK Assemblies from OpsMgr. I think they are not delivered with the IP because of license restrictions.   This makes it possible to use the IP , as long as you register the right DLLs. Get the OpsMgr SDK assemblies, either from the SCOM server or a computer with the console installed Fx. \\scom.cloud.local\C$\Program Files\Microsoft System Center 2012\Operations Manager\Console\SDK Assemblies\ Place [...]

By | 2014-05-06T12:54:20+00:00 May 6th, 2014|Automation|4 Comments

TechEd 2014 N.A. – My Breakout Session – Microsoft System Center 2012 R2 Orchestrator: Runbook Design 101

This year i have been so lucky to have a session about Orchestrator accepted! It will be  introduction to best practices, both beginner and for more experienced orchestrators. Looking forward to it!   You can the session here: http://tena2014.eventpoint.com/topic/details/DCIM-B375   More session on the list: http://tena2014.eventpoint.com/topic/list   Details: DCIM-B375 Microsoft System Center 2012 R2 Orchestrator: Runbook Design 101 Thursday, May 15 2:45 PM - 4:00 PM Speaker(s): Jakob Gottlieb Svendsen Track: Datacenter and Infrastructure Management Session Type: Breakout Topic: Microsoft System Center Get introduced to runbook design from start to finish. This session focuses on planning your runbooks, designing the [...]

By | 2014-03-26T15:20:35+00:00 March 26th, 2014|Automation, Events|1 Comment

PowerShell/SMA/WAP: Controlling LEGO Mindstorms EV3 from PowerShell/SMA Runbook – Part 1 – The Runbook

A few weeks ago i posted the video about my demo of the LEGO Mindstorms robot, controlled by a Runbook inside the Service Management Automation section of Windows Azure Pack The video has been seen by many people and i have gotten so much great feedback! Multiple people have asked me of “How did you do that?” I have decided to do a multi part post, first posting the details, then more guides to how to do the different setup tasks Part 1 – SMA Runbook, Overview + Setup Part 2 – How to setup a variable asset in SMA [...]

By | 2017-08-22T09:25:52+00:00 March 24th, 2014|Automation, Windows Azure Pack (WAP)|4 Comments

SCO2012/WAP/SMA: VIDEO – Integrating a LEGO Mindstorms Robot using SMA/PowerShell

By request I have uploaded the short video of my Windows Azure Pack & Service Management Automation (SMA) Demo this friday!     URL: http://youtu.be/1Al-dY-DHlw   Robot is LIVE at about 02:30 !! From the creators of Coretech Coffee Monitor , here comes a short movie of the demo of how to integrate LEGO Mindstorms (or practically anything!) in a PowerShell runbook in the Service Management Automation feature of System Center Orchestrator R2 & Windows Azure Pack Presented by System Center Cloud and Data center MVP -  Jakob Gottlieb Svendsen @ Microsoft Cloud OS Roadshow 2014, Copenhagen, Denmark! More info [...]

SCO 2012: Force a Failed status of the runbook!

There are a number of scenarios where you want to fail your runbook and make sure that the runbook status is “failed” this could, for instance be Triggering runbook from service manager, or other external system which checks the result Triggering from PowerShell If you want to use the statistics properly in orchestrator. There is one rule that decides if the runbook status is success,warning or failed. Success = All Activities is success full Warning = One or more activities has failed or warning Failed = Last activity that executes has status failed. The challenge is that many “failures” in [...]

By | 2014-02-11T13:03:39+00:00 February 11th, 2014|Automation|3 Comments

SCSM & SCO – Management Pack Transfer Tool Beta 3 – Freeware!

New version out! a few bugs have been fixed, and the mappings are now kept properly! (see changelog below)   Download from TechNet Gallery   Have you ever tried to transfer some Request Offerings that contains runbooks from one environment to the other? You will notice that is it not possible by default. Problem is that the links to the runbooks do not work anymore since all the runbooks has been re-imported and have been assigned new IDs. by using this easy 4 step procedure you can accomplish a successful transfer!   How to (also in ReadMe): Step 1 – [...]

By | 2014-01-29T15:03:04+00:00 January 29th, 2014|Automation, Service Manager (SCSM)|6 Comments

SCO/SCSM 2012: Approval does not work from portal when review activity was created by runbook/script/SDK!

Today i had this weird problem.   The Review activities i created from my orchestrator runbook, did not work! I was able to approve, but they never completed! But this was only the case when approving from the portal. It worked as expected from the console!   After some research i managed to find the problem: Approval Condition was NULL! This means that the Review activity will never complete.   So why did it work from the console? Well you see, the default dropdown value for the “approval condition” is unanimous! and therefore, whenever i opened it in the consoel [...]

By | 2013-12-20T11:32:47+00:00 December 20th, 2013|Automation, Service Manager (SCSM)|5 Comments

Who started the runbook from the orchestration console? Use this runbook!

I have had this question again and again and again… and again… Unfortunately the orchestration console does not show which user did trigger the runbook. But this does not mean that it is not logged, you can actually use it as a filter in the console:   The user SID is in the “CreatedBy” field, but if you check the database, only the SID is saved. So you will have to use the user objectSID in the filter, if you want to filter the jobs.   But this makes it possible for us to get the user info from the [...]

By | 2013-11-04T18:56:40+00:00 November 4th, 2013|Automation|3 Comments

SCO/SCOM 2012: Get Alerts / Monitor Alerts – How to Filter on empty/null property

When using orchestrator, a lot of activities contain a filter Get Alert / Monitor Alert is some of them. The following workaround is tested for the above 2 activities, but i think it does apply to other filter activities too. (have not had the time to test yet, comments are welcomed!).   I ran into an unexpected behavior today: I was using a filter saying “TicketId Does not equal No Automatic Escalation”, and i was expecting to get alle alerts that did not have this text in the field. but I did not get all of them!. I only got [...]

By | 2013-10-29T14:35:07+00:00 October 29th, 2013|Automation, Operations Manager (SCOM)|1 Comment

SCO 2012 – Attention! Use correct order of params in Invoke Web Services XML Payload!

Are you experiencing problems when using advanced SOAP XML payloads in “Invoke Web Services”? I did! it seems to work properly, but some parameters did not get filled correctly. After some testing i discovered that the parameters in the XML payload has to be in the correct order!! If not, the parameters “in between” will be filled by NULL, and then later it will ignore or skip the rest of the parameters if they appear in the wrong order!! The reason is that it is using the DataContractSerializer. thanks to by colleague Claus for finding this forum thread there they [...]

By | 2013-10-15T15:11:04+00:00 October 15th, 2013|Automation|0 Comments

SCO 2012 R2: System Management Automation Part 3 – The Web Service

The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some of [...]

By | 2013-08-08T10:50:44+00:00 August 8th, 2013|Automation|7 Comments

SCO 2012 R2: System Management Automation Part 2 – The PowerShell Module

  The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some [...]

By | 2013-07-26T09:00:08+00:00 July 26th, 2013|Automation|0 Comments

SCO 2012 R2: System Management Automation Part 1 – Overview and Setup

  The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some [...]

By | 2013-07-19T15:11:54+00:00 July 19th, 2013|Automation|1 Comment

SCO 2012 R2: System Management Automation – Using the Web Service in Visual Studio 2012

  update: more information have been released by microsoft. Start here The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" In this article series i can been focusing on the 3 parts: Web Service Runbook Worker PowerShell Module In this article i'll show how to use the web service in Visual studio. An earlier post described more about the web service Install Browse using Internet Browser   The idea is to give you a chance to play around with it, and any kind of comments/feedback is very welcomed! Lets go!   [...]

By | 2013-07-19T14:29:24+00:00 July 19th, 2013|Automation|0 Comments

SCO 2012 / SCSM 2012: Using Create Incident With Template

  The Service Manager 2012 Integrations Pack includes an activity to create Incidents using a template. Unfortunately, by default it does not create the incident correctly. Luckily the Solution is really very easy!   All you need to do is 1. Add the optional field ID 2. Change the value from {0} to IR{0} This makes sure that the Incident is correctly created. This method might apply to other classes and activities too

SCO 2012: Updating the stored procedures in the database to remove deleted objects from the Authorization Cache

  As you might know, Orchestrator never deleted anything from the database, instead it marks the object as deleted. Ryan talks about it in this blog post about undeleting objects. Read more here In my Lab environment I import and delete a lot of runbooks. A couple of weeks ago i hit a point where the web service did not show all objects. After a thorough investigation i found out that the authorization cache was too big to be generated within the giving time. Therefore the web service would timeout before the cache was complete. I tried to delete objects, [...]

By | 2013-04-23T19:33:49+00:00 April 23rd, 2013|Automation|1 Comment

SCO 2012: PS Function for parsing the result of the “Run Exchange Management Shell Cmdlet” Activity

  If you are using the Exchange Admin Integration Pack. You might have tried to use the run exchange shell cmdlet" activity and disocvered that the result is kind special in formatting.   Your result will look similar to this: [PSComputerName: ex2010.cloud.local] [RunspaceId: f30b4063-2b50-4609-9f84-91a480ac4bea] [Database: Mailbox Database 1872261918] [UseDatabaseRetentionDefaults: True] [RetainDeletedItemsUntilBackup: False] to help you , i have created a function for powershell that does it job: [crayon-59c9b1fbc4403012034863/]   use the function as shown here: [crayon-59c9b1fbc4415955309615/]   The function created a key/pair collection containing all parts of the result, you then use the standard dot or [] syntax to get [...]

By | 2013-03-21T15:57:19+00:00 March 21st, 2013|Automation|5 Comments