简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM