Try something like this.
It will show per pool how many desktops are used.
Get-Pool|SelectPool_id,DisplayName,
@{N="#Desktops";E={$_|Get-DesktopVM|Measure-Object|Select-ExpandPropertyCount}}
Try something like this.
It will show per pool how many desktops are used.
Get-Pool|SelectPool_id,DisplayName,
@{N="#Desktops";E={$_|Get-DesktopVM|Measure-Object|Select-ExpandPropertyCount}}