Tag Archives: Workflow

Programmatically Search Operations Management Suite

At Ignite Jo Chan showed us how we can now execute Search queries trough Operations Management Suite API which is basically Azure Resource Manager API. He demonstrated that with a tool called ARMClient. That tool seems nice but I wanted to get results with PowerShell as it is more familiar to me. Searching over Internet […]

Azure Automation – Hybrid Worker Setup

It is May 4th which marks the start of Microsoft Ignite 2015 and of course new Azure features start to appear. So first Azure Automation is now available in the preview portal: This new experience also gives you the option to create graphical runbooks: Although this looks great I think I will still prefer writing […]

Azure Automation is Faster Than Me

The original title of this post was suppose to be “Strategy on Running Runbooks in Azure Automation” and wanted to write it for more than a month. Why the title changed during this period? Simple – there was some limitation on running runbooks in Azure Automation and that limitation was significantly  increased which pushed me […]

Fix Non-Compliant Virtual Network Adapters in VMM with SMA Runbook

Many do not know but besides keeping the compliance of vSwitches on Hyper-V hosts VMM also keeps compliance of the Virtual Network Adapters on VMs. You can easily find that information by opening the VMM console –> Fabric Pane –> Networking –> Logical Networks and in the ribbon menu instead of Fabric Resources choose Virtual […]

Using VMM Cmdlets locally on SMA Worker Server in SMA Runbooks

If you are working with SMA and VMM you are probably familiar with the following sample Runbook for connecting to VMM:

workflow Get-VM{ $VmmConnection = Get-AutomationConnection -Name ‘VmmConnection’$VmmServerName = $VmmConnection.ComputerName  $SecurePassword = ConvertTo-SecureString -AsPlainText -String $VmmConnection.Password -Force  $VmmCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $VmmConnection.Username, $SecurePassword  $VMMobject=Get-SCVMMServer -ComputerName $VmmServerName -Credential $VmmCredential $VMS=Get-SCVirtualMachine -VMMServer $VmmServerName | select […]

How to create a workflow that sets “Actual End Date” for Change Requests in Service Manager 2012

I’ve recently noticed in TechNet forum a thread about Actual End Date value for Change Requests. In first version of Microsoft System Center 2010 Service Manager this field was populated automatically. In Service Manager 2012, even in R2, it isn’t filled out. This value could very useful if you have some reports that count the […]

Diagnostic and Recovery Tasks in Operations Manager – An Overview

The strength of any great monitoring solution is not just in its ability to report issues and the current state of servers and applications (there are a plethora of good monitoring tools that can do this), but in its ability to resolve problems automatically when they arise. Through the creation of automated tasks, administrators can […]