Solved

Desired State Configuration in Azure

Posted on 2016-11-04
3
29 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 5

Author Closing Comment

by:K B
ID: 41877602
Correct!
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now