Azure automation: Start-AutomationRunbook – New simple way to start runbook jobs from within a runbook!

Microsoft has just released a new cmdlet in the realm of Azure automation. Start-AutomationRunbook The cmdlet is designed to start runbook jobs in the same account as the current running runbook, without having to define any endpoints/credentials/etc. Syntax is: [crayon-5a1473c77cf19944640712/]

By | 2015-11-20T15:33:22+00:00 November 20th, 2015|Automation, Azure|6 Comments

Azure Automation: New Features announced!

Today at the PowerShell summit in Stockholm,  Joe Levy and Anatoli Beliaev of Microsoft announced a bunch of new features that is publicly available in Azure Automation! Unfortunately I was not able to be there in person, but luckily multiple people tweeted about this stuff! (Thanks @vNiklas + @skillriver + more!! ) Some of the features is what I have demoed at multiple session within the last month. (SCU + User groups). Here is the list: Gallery Support Gallery has been expanded and has a nice button for it the gallery now also includes powershell scripts. PowerShell Script Runbooks Use [...]

By | 2015-09-15T14:03:34+00:00 September 15th, 2015|Azure, Scripting & Development|0 Comments

Service Manager & Orchestrator – Management Pack Transfer Tool by Coretech Beta 4 is OUT!

Beta 4 has been uploaded.  a bug was fixed: In some cases not all runbooks in the MP was found. Fixed the issue. Unfortunately there was a problem with the source code, which meant having to re-do the fixes from beta 2 and 3. Please report back if there is any problems! thanks! see changelog in the gallery.   Get the new version here: https://gallery.technet.microsoft.com/Service-Manager-Orchestrato-3d9b3960

By | 2015-08-10T13:35:34+00:00 August 10th, 2015|Automation, Service Manager (SCSM)|0 Comments

NIC 2015: Slides and runbooks from my sessions

thank you all for a great NIC 2015 ! It was great to be back for the 4th time, and had some really nice conversations with a lot of people. I have uploaded my slides and runbooks for my sessions: System Center - Service Management Automation - Introduction There is a new form of Automation in the Microsoft world! Service Management Automation is part of System Center Orchestrator 2012 R2 and is built on PowerShell! Get introduced, get an overview and learn how to develop and test your first Runbook Get the slides here: Video: http://blog.ctglobalservices.com/jgs/nic-2015-recording-online-service-management-automation-automating-system-center-2012-r2/ System Center [...]

By | 2017-08-22T09:25:51+00:00 February 13th, 2015|Automation, Events|0 Comments

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+00:00 June 24th, 2014|Automation|10 Comments

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

System Center Orchestrator 2012 Beta: Using Run .Net Script Activity – PowerShell: Inputting and Returning Data

This article describes how to use the Run .Net Activity to run PowerShell Scripts. I have created an example runbook which does the following: Start once every minute. Read a text file containing a list of sites/servers. Parse the list to PowerShell script. PowerShell script tried to ping each address and get the response time. PowerShell script output formatted HTML, ready to put inside a HTML Table, containing the addresses and response time. Runbook writes a web site based on a HTML template. The result is a website, in my case it looks like this: NB! some websites/server [...]