PowerShell Friday: Host Networking with PowerCLIPosted on January 16, 2016 • 1 min read • 120 words
It has been too long since there was a PowerShell Friday, so I thought I treat you on some titbits on checking your host network configuration.
For various reasons you might want to know how your MTU size is configured on various components. Since it is important that every component in the link between the host
// Shows what the MTU settings on the Virtual Switches are
Get-VirtualSwitch | Select VMHost, Name, MTU
// Dumps a hosts Name, IP, Subnet, Gateway and DNS configuration
Get-VMGuestNetworkInterface –VM VMNAME | Select VM, IP, SubnetMask, DefaultGateway, Dns