Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Network Adapters for all Virtual Machines

$
0
0

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.


Viewing all articles
Browse latest Browse all 3333

Trending Articles