Created
April 8, 2014 08:29
-
-
Save toruuetani/10101751 to your computer and use it in GitHub Desktop.
PowerShell V2 でネットワークアダプター名を変更する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetConnectionID = 'ローカル エリア接続'" | %{ | |
$_.NetConnectionID = 'Connection2' | |
$_.Put() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment