Forum Discussion
cvanaxel
May 05, 2020Brass Contributor
Get-AzWvdRegistrationInfo ?
Hi All,
Cant seem to get this to work.
Get-AzWvdRegistrationInfo -ResourceGroupName BLABLA-HostPoolName Pool01
Az.DesktopVirtualization\Get-AzWvdHostPool : Resource group 'BLABLA' could not be found.
At C:\Program Files\WindowsPowerShell\Modules\Az.DesktopVirtualization\0.1.0\custom\Get-AzWvdRegistrationInfo.ps1:70 ch
ar:9
+ $hostpool = Az.DesktopVirtualization\Get-AzWvdHostPool @PSBou ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ({ SubscriptionI...Pool01 }:<>f__AnonymousType2`3) [Get-AzWvdHo
stPool_Get], RestException`1
+ FullyQualifiedErrorId : ResourceGroupNotFound,Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets.G
etAzWvdHostPool_Get
- Soo Kuan TeoMicrosoftI tried the command, I am not able to reproduce your issue. can you please double check if you're calling to the right subscription? also please verify the ResourceGroupName is valid, exactly as it shown in the azure portal. Your command also shows there is no space between "BLABLA" and "-HostPoolName" which may cause unexpected error.