SCCM: Improved MDT – “Execute Runbook” Script

Hello EverybodyHere is a little xmas present from Team CTGlobalThis script is an improved version of the script used by MDT to for the “Execute Runbook” StepI has the following improvements:Success/Failed checkRetry if the webservice call failsRetrieval of the correct result, when a runbook has failed over to one or more servers.The currently included script in MDt, will accidently get the first result, which is the failed result, while the newst result is the succeded one.This improves stability of the step by far.This has been tested in a scenario that contains around 800 servers in each patch windows.Each server executes [...]

Tech Days.se 2015 – SCO & SCSM–Lessons learned from the real world–Slides, Examples, Tools, Template / How to use runbook template

Thanks for being a great audience! and for so many showing up! As promised I have uploaded the runbooks and management packs I demonstrated in the session including my SCO Template for runbooks Content Examples Tools Runbook Template Slides Download here: [download id="263"] Links: Best practices book: https://t.co/pOHfdmSJra Coretech MP Transfer tool https://blog.ctglobalservices.com/jgs/scsm-sco-management-pack-transfer-tool-beta-3-freeware/ SCSM Extension Integraiton Pack https://blog.ctglobalservices.com/jgs/scoscsm-2012-create-objects-with-activities-with-coretech-integration-pack-for-scsm-2012-extension-beta-2 Parse Export https://scorch.codeplex.com/releases/view/104915 Sanitize Export + Custom Runbook Activity Type + Lots of other stuff https://scorch.codeplex.com/   How to use the runbook template: Import runbooks. this includes folders and shared runbooks. But, to be able to create another stage that points to [...]

By |2015-10-22T16:29:31+01:00oktober 22nd, 2015|Automation, Events|Kommentarer lukket til Tech Days.se 2015 – SCO & SCSM–Lessons learned from the real world–Slides, Examples, Tools, Template / How to use runbook template

Azure Automation: New features including graphical designer and Hybrid Workers goes live!

Today at Ignite, Microsoft announced the next version of the portal for Azure Automation. This portal is part of the new Azure Portal, and you can try it out right away!! It has some great features in the interface and It enables proper Hybrid Cloud Automation! Execute Azure Automation runbook on-premise and trigger them from on-prem solutions!   Can I get a Woohoo!?   In this article, I will explain each feature in details New Graphical Runbook Designer interface (similar to the classic Orchestrator runbook designer) Hybrid Worker Role!! Web Hooks New portal design with better overview over runbooks, Assets etc. [...]

By |2015-05-04T17:30:01+01:00maj 4th, 2015|Automation, Azure|Kommentarer lukket til Azure Automation: New features including graphical designer and Hybrid Workers goes live!

Help shape the future of Microsoft Automation/Orchestrator!

The Microsoft engineering team that creates Azure Automation, Service Management Automation, and System Center Orchestrator is asking for us customers to help them shape the future of Automation. Today we run most automation on premise, but in the future this might be a cloud service like Office 365. It all depends on the inputs from us! You can give your input by filling this survey with questions about moving to a cloud service: https://microsoft.qualtrics.com/SE/?SID=SV_b3pBfQD39MLGiHP

By |2017-08-22T09:25:50+01:00marts 24th, 2015|Automation|Kommentarer lukket til Help shape the future of Microsoft Automation/Orchestrator!

Automation / SCO / SCSM Tip: Always retry when trying to update an items or any other action in external systems (how to use looping)!

In my work on automating system center service manager, I have learned my lessons! On my blog i want to share bits of my experiences so that hopefully you do not hit the same issues in your automation.   TIP! Always retry your actions when trying to update an item in service manager and it is always a good idea to think about retried when connecting to any system! cloud or on-prem!   Why? you might ask In this case it is about the  dreadful service manager error message for “The item has been changed by another user or process. [...]

By |2017-08-22T09:25:51+01:00januar 15th, 2015|Automation, Service Manager (SCSM)|Kommentarer lukket til Automation / SCO / SCSM Tip: Always retry when trying to update an items or any other action in external systems (how to use looping)!

SCO 2012 – Reading the last line of a MDT – BDD.log file

Today at my class a student tried to read the last line of a BDD.log file using the “Read Line” activity and setting the lines to “LASTLINE:1” This is the usual method for reading a text file, and it usually works! but in this case we got a weird result! not only one, but 8 lines was read and when we tested on another file, the output was 12 lines!   concluding that the “Read Line” activity must have some kind of bug, we switched to a PowerShell Script: $FilePath = "\\SERVER01\MDTLogs\BDD.local" $LastLine = Get-Content $FilePath | Select-Object -Last 1 [...]

By |2014-10-27T11:52:24+01:00oktober 27th, 2014|Automation|Kommentarer lukket til SCO 2012 – Reading the last line of a MDT – BDD.log file

SCO 2012: Get Active Directory Group members using Get User Activity

  First when I looked in the set of activities, i was surprised that no “Get Group Members” activity exist. After a little playing around i discovered that “Get User” is the activity to use. And i have been using this activity since then.   It is pretty simple to setup.   1. Select a connection 2. Set a filter that searches for the group using the Indirect MemberOf filter rule:   using above method you can make a simple runbook to empty a AD group of members:  

By |2014-06-24T14:02:11+01:00juni 24th, 2014|Automation|11 Comments

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+01:00maj 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+01:00marts 26th, 2014|Automation, Events|1 Kommentar

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+01:00december 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+01:00november 4th, 2013|Automation|3 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+01:00august 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+01:00juli 26th, 2013|Automation|Kommentarer lukket til SCO 2012 R2: System Management Automation Part 2 – The PowerShell Module

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+01:00juli 19th, 2013|Automation|1 Kommentar

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+01:00juli 19th, 2013|Automation|Kommentarer lukket til SCO 2012 R2: System Management Automation – Using the Web Service in Visual Studio 2012

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!