Solved

Desired State Configuration in Azure

Posted on 2016-11-04
3
57 Views
Last Modified: 2016-11-07
I am having trouble making sense of this error message (as I try to convert the cmdlets to ARM from this article: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-extensions-dsc-overview/)

I get stuck at:
Set-AzureRMVMDscExtension -ResourceGroupName 'blahblah' -VMName $demovm -ArchiveBlobName 'blahblah.ps1.zip' -ArchiveStorageAccountName 'blahblah' -Version '1.0'

Set-AzureRMVMDscExtension : The Resource 'Microsoft.Compute/virtualMachines/Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine' under resource
group 'blahblah' was not found.

Any ideas?

Thanks!
0
Comment
Question by:K B
3 Comments
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 41874490
Removed "MS Excel" Topic.
Removed "VB Script" Topic.
0
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
ID: 41874689
I'm guessing (because I haven't actually used the cmdlet), but make try making sure that $demovm is just a string with the VM name, not the actual object returned by Get-AzureRMVM cmdlet.
0
 
LVL 6

Author Closing Comment

by:K B
ID: 41877602
Correct!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question