PowerTip: Find Assigned Virtual Machine Network Adapters


Summary: Learn how to find network adapters that are assigned to virtual machines.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find what network adapters are assigned to my virtual machines?

Hey, Scripting Guy! Answer Use the Get-VM cmdlet and pipe the results to the Get-VMNetworkAdapter cmdlet, for example:

Get-VM | Get-VMNetworkAdapter          

Note  You must run this command with elevated permissions.

Comments (0)

Skip to main content