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+01:00april 23rd, 2013|Automation|1 Kommentar

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: function ConvertTo-ExchangeOutputCollection ([String] $inputText = @(throw "Error No Input Text supplied")) { $returnCollection = @{} $keypairCollection = $inputText.Split("`n") foreach ($keypair in $keypairCollection) { $trimmedKeyPair = $keypair.Trim().TrimStart("[").TrimEnd("]") $splitPosition = $trimmedKeyPair.IndexOf(":") $propertyName = $trimmedKeyPair.Substring(0,$splitPosition).Trim() $propteryValue [...]

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

SCO 2012: Videos from NIC 2013 is online!

  System Center Orchestrator 2012 – Self service with Service manager The future is self-service! You see it everywhere, but now it has arrived for IT. In this session Jakob will show you how to utilize the new Self-service portal in Service Manager 2012, combined with System Center Orchestrator 2012 to make a fully automated environment with a great user interface, in a simple way! http://vimeo.com/58166046   (sorry embedding was not allowed) System Center Orchestrator 2012 – Runbook Design for Service manager In this session we will dive into tips and tricks in designing production runbooks for Service Manager. Learn [...]

By |2013-02-06T15:10:01+01:00februar 6th, 2013|Automation|Kommentarer lukket til SCO 2012: Videos from NIC 2013 is online!

Slides & Runbooks from NIC 2013

  We had a great time at NIC 2013. You can download my slides and examples below. System Center Operations Manager 2012 - OpsMgr New Tools and Fun Stuff System Center Orchestrator 2012 - Runbook Design for Service manager System Center Orchestrator 2012 - Self service with Service manager [download id="131"] [download id="132"]   Coming soon: Coretech Survailance Widget Example (Source and management pack)

By |2013-01-28T19:54:59+01:00januar 28th, 2013|Automation|1 Kommentar

Powershell to change Resolution State in Operations Manager 2012

A powershell sample used at a customer for semi-automatically changing the Resolution States:   Import-Module OperationsManager $Alerts = get-scomalert -ResolutionState 0   if ($Alerts) { foreach($Alert in $Alerts) { $newState = $null switch -wildcard ($Alert.Description) { "*Active directory*" { $newState = 10 } "*Exchange*" { $newState = 20 } "*DNS*" { $newState = 30 } "*Cisco*" { $newState = 100 } "*HP*" { $newState = 110 } "*Printer*" { $newState = 120 } "*EMC*" { $newState = 130 } "*RunAs*" { $newState = 200 } }   switch -wildcard ($Alert.Name) { "Cannot start SQL Server Service Broker on Database" { [...]

SCO 2012 – SCOM 2012: Best Practice – Monitor alert and restart a service

[download id="106"] I know that SCOM can restart the service automatically, it can even run scripts to check if it was OK. but in some cases, especially when the service need a complex check before the service is marked OK, you might want to use Orchestrator   Luckily the Monitor Alert is easy to use and it has all data from the alert, that we can utilize to restart the correct service. I have created a runbook for this specific task.   The runbook is setup the following way: 1. Monitor Alert: This activity is setup to monitor one or [...]

System Center Orchestrator 2012 – Video from my session at Campus Days 2011 (Danish)

Finally my video from Campus Days 2011 is out, you can watch it below: please be aware that it is in Danish language. Demos can be downloaded here: https://blog.ctglobalservices.com/jgs/my-demos-from-campus-days-2011/

By |2011-12-06T14:43:25+01:00december 6th, 2011|Automation|Kommentarer lukket til System Center Orchestrator 2012 – Video from my session at Campus Days 2011 (Danish)