Posted in
Virtual Machine Manager,
Windows Powershell |
No Comment | 3,049 views | 12/12/2013 15:11
This is my own notes for jumbo packet size configuration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| # Get Jumbo Packet Size on Localhost
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size"
# Setting Jumbo Packet Size on Localhost
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" | Set-NetAdapterAdvancedProperty -RegistryValue "9014"
# Creating New Cim Session for Remote Host
$CimSession = New-CimSession -ComputerName S0134VMHOSTT02
# Get Jumbo Packet Size on Remote Host
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" -CimSession $CimSession
# Setting Jumbo Packet Size on Remote Host
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" -CimSession $CimSession | Set-NetAdapterAdvancedProperty -RegistryValue "9014" -CimSession $CimSession |
# Get Jumbo Packet Size on Localhost
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size"
# Setting Jumbo Packet Size on Localhost
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" | Set-NetAdapterAdvancedProperty -RegistryValue "9014"
# Creating New Cim Session for Remote Host
$CimSession = New-CimSession -ComputerName S0134VMHOSTT02
# Get Jumbo Packet Size on Remote Host
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" -CimSession $CimSession
# Setting Jumbo Packet Size on Remote Host
Get-NetAdapterAdvancedProperty -DisplayName "Packet Size" -CimSession $CimSession | Set-NetAdapterAdvancedProperty -RegistryValue "9014" -CimSession $CimSession
I hope that helps you to configure packet sizes easily.