Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

PowerTip: Use PowerShell to List Hyper-V Switches

$
0
0

Summary: Use Windows PowerShell to list all switches on a Hyper-V server.

Hey, Scripting Guy! Question How do I get a list of all switches on my Hyper-V box?

Hey, Scripting Guy! Answer Use the Get-VMSwitch cmdlet, which will list all Hyper-V network names on a host (including their switch type, whether they be External, Internal, or Private):

GET-VMSwitch 


Viewing all articles
Browse latest Browse all 17778

Trending Articles