To migrate SMA runbooks from one environment to another you probably want to use SMA Runbook Toolkit to export and import the runbooks and assets, you can find the download here. This toolkit is a collection of PowerShell scripts which are few years old but still work perfectly with SMA 2016. After you downloaded the […]
Troubleshooting
SCOM / SCSM – Retrieve Decrypted RunAs Account Credentials
I am not sure if you have seen it, but Richard Warren from nccgroup has figured out, how to decrypt the RunAs account credentials in SCOM. The problem up to now was, that there was no official way to retrieve the encrypted credentials from SCOM. There is just one DLL to use, which offers the […]
SMA Authoring Toolkit – Some Runbooks Are Not Showing Up
When you are creating runbooks in SMA (Service Management Automation) and you are using the SMA Authoring Toolkit available on PowerShell Gallery, you might have also have faced a very annoying bug. If you have a certain amount of runbooks in SMA and you are browsing through the runbook list in ISE you simply cannot […]
SMA – Invoke Runbook Error “Cannot find the ‘’command.”
This is just a quick post about SMA. I bumped many times in this error while writing PowerShell workflows in SMA … …and I figured out that there are many reasons for this error. If you are nesting runbooks like this… Several reasons could lead to this problem: The child workflow does not exist in […]
SMA – Database Grooming Some Things You Should Know
SMA is Microsoft’s on-premise automation engine and the successor of Opalis / Orchestrator. We have utilized this engine quite a lot and have lots of experience developing PowerShell workflows for SMA. But as every system your need to maintain and pamper it, otherwise it will strike back at some point. We recently experienced such an […]
SCOM – How Data is Encrypted
Recently I got a question from a customer how SCOM traffic is encrypted. Well, I knew that the traffic IS encrypted, but how the encryption works, that is a different story. First we need to know, about what traffic we are talking about. Is it the communication between agents , respectively healthservices? Is it the […]
OMS – Intelligence Packs Cheat Sheet
Operations Management Suite (OMS) is one of the (probably) hottest technologies Microsoft is currently working on. If you want to bet on a horse, which will win the crazy technology race now and in the future, OMS will be a save choice. Because of that I highly recommend start using and learning OMS today. There […]
PowerShell – PowerShellGet Module “Publish-PSArtifactUtility : Cannot process argument transformation on parameter ‘ElementValue’”
In PowerShell 5.0, Microsoft introduced the PowerShellGet module. This module contains cmdlets for different tasks. E.g. it lets you easily install / upload PowerShell modules / scripts from and to an online gallery such as PowerShellGallery.com. It even lets you find scripts, modules and DSC resources in such repositories. This is a fantastic way to […]
Office 365 – Microsoft. Exchange.Data.Storage. UserHasNoMailboxException
While playing around with Office 365 I bumped into an issue, which you might also could face. I created an administrator role in Azure Active Directory and activated my Office 365 E3 License (thank you Microsoft for this free license!). After setting up my tenant properly I assumed I could log into my Office 365 […]
PowerShell – SCCM Cmdlet Library “Get-CMDeviceCollection : Specified cast is not valid.”
UPDATE: This issue has been resolved in the latest version here https://www.microsoft.com/en-us/download/details.aspx?id=46681 While doing some SCCM automation we bumped into an issue with the SCCM Cmdlet Library 5.0.8249.1128. When you try to execute a workflow using PowerShell Remoting in SMA like this… After some investigation we could not determine the cause of it, so the […]