question

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 asked RogerRoger-2394 answered

Host Pool Count

Hi All

I am using Windows Virtual Desktop classic Release 2019. I want to know how many wvds my hostpool has, i am trying the below syntax but i am not getting the output, experts guide me plz

Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
$All = (Get-RdsSessionhost -TenantName "MyTenant" -HostPoolName "WVD1" | Select-Object HostPoolName, Sessionhostname, AssignedUser | Measure-Object).Count
$Used = (Get-RdsSessionhost -TenantName "MyTenant" -HostPoolName "WVD1" | Where-Object {$_.AssignedUser -like "*mydomain.com"}| Select-Object HostPoolName, Sessionhostname, AssignedUser | Measure-Object).Count
$RemainingWVD = [int]$All - [int]$Used
$TotalUsersAssigned = (Get-RdsAppGroupUser MyTenant "WVD1" "MyAppGroup" | Select-Object UserPrincipalName | Measure-Object).Count

azure-virtual-desktop
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Apologies for the delay. I am currently investigating and will get back to you shortly.

0 Votes 0 ·

1 Answer

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 answered

did you get any chance to check

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.