PowerTip: Find Assigned Virtual Machine Network Adapters

Doctor Scripto

Dr Scripto

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.

0 comments

Comments are closed. Login to edit/delete your existing comments