Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## On source machine
- Get-NetAdapterAdvancedProperty|Select *|Export-Clixml -Path \\nas\Transfer\NetAdapterAdvancedProperty.$env:COMPUTERNAME.xml
- ## On destination machine (backup settings to a separate xml first as per the above)
- Import-Clixml -Path \\nas\Transfer\NetAdapterAdvancedProperty.grl-FLXX01.xml|? {$null -ne $_.RegistryValue }|%{ $_.RegistryKeyword ; Set-NetAdapterAdvancedProperty -Name Ethernet0 -RegistryKeyword $_.RegistryKeyword -RegistryValue $_.RegistryValue -NoRestart }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement