Automation

DSC: (at runtime): Could not find the type of DSC resource class {resourceName}

Here’s another good one. The DSC configuration compiles without error, however, when running the resource and the resource has to change something (i.e. calling [void] Set(), I get the lovely error:

I don’t know why it is the case,…

Azure Powershell: A quick way to find the typeHandlerVersion for DSC

This actually returns the version, but to convert to typeHandlerVersion, we just need the first decimal point. I.e. version 2.9.1.0 = 2.9.

PowerShell: Parameters cheat sheet

Very quick examples of possible PS parameters

 

Azure: Deployment never ends / Internal Server Error

When a deployment never ends, you may start looking for answers. Burred deep in deployment you may come across one of the most helpful errors to date:

To find this error, In Azure portal, go to Resource groups > {ResourceGroupName}…

Azure: previous deployment from ‘MM/dd/yyyy hh:mm:ss’ is still active

Another helpful Azure error message:

I have a master template with linked templates. The whole child template (linkedTemplate-VM), which deploys the actual VM, is iterated X number of times, using CopyIndex(), instantiated in the master template. (Where X is…