Azure Powershell 1.0 aracılığıyla zaten varolan bir Azure VM'ye Puppet aracı eklemeye çalışıyorum. resmi belgeler kullanımı anlamına gelir aşağıdadır: Ben get-AzureRmVm (BTW VM ayrıntılarını döndüren) üzerinden Azure dışına -VM parametreyi almaya çalışıyorumAzure VM'de Kukla Uzantısı Ayarı
Parameter Set: SetPuppetExtension
Set-AzureVMPuppetExtension [-PuppetMasterServer] <String> [[-Version] <String> ] [[-Disable]] [[-ReferenceName] <String> ] -VM <IPersistentVM> [ <CommonParameters>]
ama set-AzureVMPuppetExtension o sahip değildir :
Set-AzureVMPuppetExtension : Cannot bind parameter 'VM'. Cannot convert the "$VM" value of type "System.String" to type
"Microsoft.WindowsAzure.Commands.ServiceManagement.Model.IPersistentVM".
Bu aslında çalıştı (tür): 'Set-AzureRmVMExtension -ResourceGroupName -VMName -Adı PuppetEnterpriseAgent -Tabancı PuppetLabs -ExtensionType PuppetEnterpriseAgent -location $ location -TypeHandlerVersion "3.8" ' –
Marcinf