Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Get Status of a DSC File in Azure

$
0
0

Summary: Use the Azure cmdlets to get the current status of a Desired State Configuration file on a virtual machine.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determine if a Desired State Configuration (DSC) file that I applied to an
           Azure virtual machine is successful?

Hey, Scripting Guy! Answer Get the Azure virtual machine and pipe the object to Get-AzureVMDscExtensionStatus. The following example
           checks the status on the virtual machine called Hitchy01 on the service called AzureVMNetwork:

Get-AzureVM –service ‘AzureVMNetwork’ –name ‘Hitchy01’ | Get-AzureVMDscExtensionStatus


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>