VIP Users Part 2 or how to synchronize group membership from AD to SCSM

Dealing with VIP users is a common practice within Service Management. This old blogpost explains a very good approach to mark VIP users in SCSM as VIP users. We simply extend the User class with an extra boolean property (true/false) and we then expose that property on the Incident right under the Affected User. That way Analysts can quickly see if the person is VIP and you can also make various workflows or notifications based on this property.   What is missing in the above post is how we figure out who is VIP or not. For many, this relationship [...]

By | 2017-08-30T11:48:15+00:00 November 15th, 2016|Automation, Powershell, Service Manager (SCSM)|2 Comments

December 1st: Azure Automation: Triggering a webhook from a SharePoint workflow using Out-of-the-box Activities

Welcome to this year Coretech December Calendar! Today is the 1st of december and we have a great little christmas treat for you! This is the first post in a series of posts, published every day in December. Today's subject is Triggering Webhooks from SharePoint! One of the great new features in Azure Automation is Webhooks! Webhooks is everywhere! More and more cloud services support them. Basically it is a simple HTTP Post sent to a web service that starts the runbooks. We can then send a bunch of data with the post and have the runbook receive these dato. [...]

By | 2015-12-01T12:00:00+00:00 December 1st, 2015|Automation, Azure|7 Comments

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-59c42c13dc29f831065904/]

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

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: Links: Best practices book: https://t.co/pOHfdmSJra Coretech MP Transfer tool http://blog.ctglobalservices.com/jgs/scsm-sco-management-pack-transfer-tool-beta-3-freeware/ SCSM Extension Integraiton Pack http://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+00:00 October 22nd, 2015|Automation, Events|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

Windows Azure Pack / SMA: How to fix when some VM Clouds Automation Triggers does not work

In WAP VM Clouds provider, we are able to set trigger on different actions.   Yesterday, in a new test environment, I had a problem that some of them would not trigger. When I tested Subscription trigger, it worked fine, but none of the others worked.   Luckily I asked my MVP network for help, and fellow CDM MVP Stan showed me the path to the fix! (Check his blog here: http://www.systemcentercentral.com/author/slavizh/) He said some actions are handled directly by WAP, and some are handled by SPF.   The SMA Web service has to use a valid certificate that is [...]

Azure Automation: Using Azure Scheduler to trigger a runbook via Runbook Webhooks

One of the great new features of Azure Automation is the Web hooks, which can be added to runbooks. A web hook is a way for an external system to trigger the runbook with specific input values. You can read more about how to trigger web hooks here: http://azure.microsoft.com/en-us/documentation/articles/automation-webhooks/   This article describes how easy it is to use the Azure Scheduler to actually trigger the runbook. There is already a scheduler built in, but there can be reasons that one would use Azure Scheduler instead   Azure Automation scheduler is not very advanced so far, it can only trigger [...]

By | 2015-05-20T14:52:52+00:00 May 20th, 2015|Automation, Azure|0 Comments

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+00:00 May 4th, 2015|Automation, Azure|0 Comments

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+00:00 March 24th, 2015|Automation|0 Comments

NIC 2015 Recording Online: Service Management Automation – Introduction

The recordings from NIC 2015 is online on youtube!. Thanks NIC!   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 Url: http://www.nicconf.com/system-center---service-management-automation---introduction Youtube url: https://www.youtube.com/watch?v=TQLaF_k-hg0 Video:   Get the slides and runbooks here: http://blog.ctglobalservices.com/jgs/nic-2015-slides-and-runbooks-from-my-sessions/

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

NIC 2015 Recording Online: Service Management Automation – Automating System Center 2012 R2

The recordings from NIC 2015 is online on youtube!. Thanks NIC!   System Center - Service Management Automation – Automating System Center 2012 R2 Already PowerShell Scripter? Already worked with SMA? Or are you just interested in some more advanced examples of runbooks? These examples include monitors, connectors and more in demos focused on System Center. Join me for a deep dive into the world of Service Management Automation runbooks, packed with best practices, demos and notes from the real-world.   Url: http://www.nicconf.com/system-center---service-management-automation--automating-system-center-2012-r2 Youtube url: https://www.youtube.com/watch?v=rDFejEe8ruI Video:   Get the slides and runbooks here: http://blog.ctglobalservices.com/jgs/nic-2015-slides-and-runbooks-from-my-sessions/

By | 2017-08-22T09:25:51+00:00 February 24th, 2015|Automation, Events|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

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+00:00 January 15th, 2015|Automation, Service Manager (SCSM)|0 Comments

Service Management Automation: Runbook/Workflow for completing a SCSM SMA Runbook Activity

Almost christmas!   Today brings another example for handling Service Manager in in Service Management Automation (SMA), a part for Windows Azure Pack. More info: http://aka.ms/introToSMA SMA is based on PowerShell workflow, so this could be used in other scenarios than within SMA. This example is a runbook I use to complete an activity in service manager, in the end of most of my Service Manager runbooks. I do this cause I want to speed up the processing and not wait for the “Check SMA Runbook Activity Complete” workflow that runs every 5 minutes but completing the Runbook activity manually [...]

By | 2017-08-22T09:25:51+00:00 December 19th, 2014|Automation|0 Comments

Save money by using Azure Automation to deallocate VMs.

I have four Azure VMs running during normal business hours. All machines are Type A2 (2 CORES / 3.5 GB RAM) and cost $0.154/hr per VM. I start them in the morning at 8PM and deallocate them at 5PM when I leave the office. At least once a month I forget to deallocate. They then run unused until next morning (15 Hours). Apparently, I love Microsoft so much that I enjoy giving them my money. But mark my words. I will no longer pay for services that I don’t use….. Calculation Wasted hours Azure Price No. of VMs No. of [...]

By | 2017-08-22T10:14:32+00:00 December 15th, 2014|Automation, Azure|1 Comment

Service Management Automation: Runbook/Workflow for getting selected object(s) in an SCSM Request Offering Query Result Question

Hello Everyone! Today It is my turn to write in the Coretech christmas calendar! Currently I am working a lot in Service Management Automation (SMA), a part for Windows Azure Pack. More info: http://aka.ms/introToSMA SMA is based on PowerShell workflow, so this could be used in other scenarios than within SMA. The first example i want to show is an easy way to get the selected object(s) in a Service Manager Request Offering Setup / Import Download or create Get-SCSMCIFromUserInput.ps1 Open WAP Admin Portal Go to Automation Import Runbook Creating Assets This runbook uses 2 assets. “SCSM Server” [...]

By | 2017-08-22T09:25:51+00:00 December 12th, 2014|Automation, Windows Azure Pack (WAP)|1 Comment

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: [crayon-59c42c13de7d3871255259/]   Add this to your Runbook using the “Run .Net [...]

By | 2014-10-27T11:52:24+00:00 October 27th, 2014|Automation|0 Comments

Service Management Automation: SMA Toolkit Released!

Microsoft has collected all of their SMA tools into one tookit called “SMART”   Info from their technet gallery item: The SMA Runbook Toolkit (SMART) is a collection of Service Management Automation (SMA) related tools. They are all PowerShell-based and provided as samples, to help achieve the following tasks:   Visualization and Dependency Mapping Tool 1.0 – New! This tool lets you browse SMA Runbooks and export their dependencies to the PowerShell console, Visio, Word and/or Visual Studio. Once runbook tendencies have been computed, the Visual Studio export is particularly fast and has a nice automatic layout in DGML. This [...]

By | 2017-08-22T09:25:52+00:00 September 23rd, 2014|Automation, Windows Azure Pack (WAP)|0 Comments

New 3-day Workshop: Windows Azure Pack: Mastering Service Management Automation (SMA)

I am currently in development of my new mastering class in SMA. Here is the detailed info and upcoming dates Title Windows Azure Pack - Mastering Service Management Automation Days 3 Level 300 Trainer Jakob Gottlieb Svendsen, Cloud & Data Center MVP. Email: jgs@coretech.dk MVP Profile: https://mvp.microsoft.com/en-us/mvp/Jakob%20Gottlieb%20Svendsen-5000333 Blog: http://blog.ctglobalservices.com/jgs Summary Go from A to Z in Service Management Automation. The new automation tool based on PowerShell Workflows. Beside the introduction, architecture and installation, this workshop focuses on designing Runbooks using PowerShell Workflows in SMA. Learn how to convert your knowledge of PowerShell scripts to PowerShell Workflows. We will start from [...]

By | 2017-08-22T09:25:52+00:00 September 23rd, 2014|Automation, Windows Azure Pack (WAP)|1 Comment

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

TechEd 2014 North America – System Center Orchestrator: Runbook Design 101 – Video + Downloads

Check out my session from Tech Ed North America Thank you all for a great conference! Microsoft System Center 2012 R2 Orchestrator: Runbook Design 101 http://channel9.msdn.com/Events/TechEd/NorthAmerica/2014/DCIM-B375#fbid= Download all the content here: Join me at the next workshop in phoenix! June 11th! still room for more students.! http://www.truesec.com/#!lab=Mastering_System_Center_2012_Orchestrator_R2

By | 2014-05-20T18:08:27+00:00 May 20th, 2014|Automation, Events|0 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+00:00 May 6th, 2014|Automation|4 Comments