The Get-AzVMDscExtensionStatus cmdlet gets the status of the Desired State Configuration (DSC) extension handler for a virtual machine in a resource group.
When a configuration is applied this cmdlet produces output consistent with the Start-DscConfiguration cmdlet.
Examples
Example 1
Gets the status of the DSC extension handler for a virtual machine. (autogenerated)
Specifies the name of the Azure Resource Manager resource that represents the extension.
The Set-AzVMDscExtension cmdlet sets this name to Microsoft.Powershell.DSC, which is the same value that is used by Get-AzVMDscExtensionStatus.
Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in a Resource Manager template.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.