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?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@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:
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.
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.