Hi Team ,
I am a newbie to Azure powershell, but i have managed some PowerShell automation to create machines and network on azure.
I have my parent script would create new virtual machines on azure and install the features into that using DSC.
Publish-AzureVMDscConfiguration-ConfigurationPathC:\AzureVirtualNetwork\Configuration\IISInstall.ps1-StorageContext$context-Force$vm=Set-AzureVMDSCExtension-VM$vm-ConfigurationArchive"IISInstall.ps1.zip"-ConfigurationNameIISInstall-Force
$vm|Update-AzureVM
IISInstall.ps1
configurationIISInstall
{
node (
"localhost")
{
WindowsFeature
IIS
{
Ensure
="Present"
Name
="Web-Server"
}
}
}
IISInstall
Start-DscConfiguration
-Wait-Verbose-Path.\IISInstall-Force
This was executing properly somedays before. But it stopped working. I spend lots of time to identify whats going wrong but was unable to that. Only error what I get in management portal is -
The DSC Extension was not installed correctly, please check the logs on the VM. Nothing more is logged in the actual azure machine as well to which I am applying DSC.
Can anyone please help me out how we can do detailed troubleshooting on dsc and is theer are plave where i can find detailed logs.
Is that the script stopped working can be due to some windows updates on my machine from where i am creating the machines (Win 8.1 OS) ? Expecting a detailed reply which can be helpful.
Thanks in advance.