Mamquam
Mamquam

Reputation: 37

List vm from a host pool in powershell

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.

Upvotes: 0

Views: 1932

Answers (1)

Dilly B
Dilly B

Reputation: 1462

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

Upvotes: 1

Related Questions