Home > database >  List vm from a host pool in powershell
List vm from a host pool in powershell

Time:11-24

I try to get a list of vm from a particular host pool. I've search and can't find an answer. I tried the get-azvm command witch do not return the host pool info.

On the other side I can get the host pool info but again not the vm infos ...

Thanks for the help.

CodePudding user response:

You should use to get the details of a pool Get-AzWvdHostPool and Get-AzWvdSessionHost https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdhostpool?view=azps-6.6.0

  • Related