PowerTip: Find Network Adapters for all Virtual Machines

Doctor Scripto

Summary: Use Windows PowerShell to find the network adapter names for all virtual machines.

Hey, Scripting Guy! Question How can I use Windows PowerShell on my laptop running Windows 8.1 to find the name
          of the network adapter that is used by each of my virtual machines?

Hey, Scripting Guy! Answer Use the Get-VM cmdlet to retrieve all of the virtual machines,
          and pipe the result to the Get-VMNetworkAdapter:

Get-Vm | Get-VMNetworkAdapter

Note: This command must be run with Admin rights.

0 comments

Discussion is closed.

Feedback usabilla icon