Azure-docs: Error in Powershell

Created on 4 Mar 2018  Â·  1Comment  Â·  Source: MicrosoftDocs/azure-docs

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
cxp doc-bug triaged virtual-machines-windowsvc

Most helpful comment

@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.

>All comments

@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.

Was this page helpful?
0 / 5 - 0 ratings