That property is normally only shown when you get the object for a device, for example with Get-NetworkAdapter.
Get-VM -Name MyVM |
Get-NetworkAdapter |
Select -ExpandProperty ConnectionState
The meaning of the GuestControl property is described in the API Reference under the VirtualDeviceConnectInfo object.
It says "Enables guest control over whether the connectable device is connected."
It will allow you to connect that device.
For example for a vNIC you can do
Get-VM -Name MyVM |
Get-NetworkAdapter |
Set-NetworkAdapter -Connected:$true
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
------------------------------
Original Message:
Sent: Feb 18, 2025 11:15 PM
From: piroshiki
Subject: NoGuestControlという項目について
お世話になっています。
powershellでget-vmを実行した所、ConnectionStateにNoGuestControlと表示されることがあります。
NoGuestControlとはどういう意味なのでしょうか?
NoGuestControlをGuestControlに変える方法はありますでしょうか?