安装Loopback网卡/回环网卡

$CurrentPath = $MyInvocation.MyCommand.Path.substring(0,$MyInvocation.MyCommand.Path.LastIndexOf('\')+1)
$devcon = Join-Path $CurrentPath devcon.exe
#使用devcon.exe工具安装Loopback网卡
cmd /c "$devcon install %WINDIR%\Inf\Netloop.inf *MSLOOP"

posted on 2014-10-23 17:41  momingliu11  阅读(606)  评论(0编辑  收藏  举报