Added changes for SetAzureVMChefExtension cmdlet