February 13th, 2015

PowerTip: Find Assigned Virtual Machine Network Adapters

Doctor Scripto
Scripter

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.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback