Solved

Desired State Configuration in Azure

Posted on 2016-11-04
3
66 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Expert Comment

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

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 7

Author Closing Comment

by:K B
ID: 41877602
Correct!
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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