Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Powershell #5267

Closed
santhoshjt75 opened this issue Mar 4, 2018 — with docs.microsoft.com · 1 comment
Closed

Error in Powershell #5267

santhoshjt75 opened this issue Mar 4, 2018 — with docs.microsoft.com · 1 comment

Comments

Copy link

Is the syntax correct for the NewAzureVM script? I get an error "A parameter cannot be found that matches parameter name 'Name'.". Am I missing something?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: a57ffc39-d1a4-77f7-d78a-415db2deeae7
  • Version Independent ID: 7ec4a1b0-6545-97e5-449c-f5e72df0242e
  • Content
  • Content Source
  • Service: virtual-machines-windows
@mimckitt
Copy link
Contributor

mimckitt commented Mar 4, 2018

@santhoshjt75 I tested the script and successfully ran it. What this likely means is you need to update your PowerShell module to the latest version. You can use the following to ensure you are up to date:

https://www.microsoft.com/web/handlers/webpi.ashx/getinstaller/WindowsAzurePowershellGet.3f.3f.3fnew.appids

In addition, if you prefer to remove the need to keep your module up to date you can use the Cloud Shell as an alternative:

https://docs.microsoft.com/en-us/azure/cloud-shell/overview

Please reach back out if you try the above and are still having issues.

@mimckitt mimckitt closed this as completed Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants