AZURE VM ROLE Issue : ‘Too many arguments………’

Alas!!! i have started working on Azure VM Role.There are so many hiccups and blockades  while setting up the Azure VM Role (Which is still in Beta)

I would love to put all my tries and misses here..Let me start with this one

Too many arguments for command Add-VMImage expects 0 argument(s) found 2.

Found: …………

You face this error when you try to run

csupload Add-VMImage -Connection “SubscriptionId=[subscription_id]; CertificateThumbprint=[certificate_thumbprint]” -Description “[description]” -LiteralPath “[vhd_location]” -Name [vhd_filename] -Location “[azure_subregion]” -TempLocation %TEMP% -SkipVerify

The problem here is with the ‘-‘ Replace all the hyphens manually using keyboard or you can try using the command above .This should solve the issue.

Note : Run the windows Azure SDK Command prompt in Administrator mode (Right on the command prompt and click Run as Administrator)



Advertisements

2 thoughts on “AZURE VM ROLE Issue : ‘Too many arguments………’

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s