Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

[Forum FAQ] PowerShell reports error when using get-azurevmimage command

$
0
0

Symptom:

When using Azure PowerShell command get-AzureVMImage, we may get the following error report:

PS C:\> get-azurevmimage VERBOSE: 2:45:42 PM - Begin Operation: Get-AzureVMImage get-azurevmimage : Requested value 'xxx' was not found. At line:1 char:1 + get-azurevmimage + ~~~~~~~~~~~~~~~~     + CategoryInfo          : NotSpecified: (:) [Get-AzureVMImage], ArgumentException     + FullyQualifiedErrorId :

System.ArgumentException,Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.DiskRepository.GetAzureVMImage

This error means the Azure PowerShell is not able to query the azure image repository.

Cause:

This issue could be caused the PowerShell version is not the latest version.

Solution:

1. Using the command:(Get-Module Azure).Version to get the Azure PowerShell version.

2. Go to the Azure PowerShell website to update Azure PowerShell or reinstall it.

http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>