映射网络路径:
1 $net = New-Object -com WScript.Network 2 $drive = "Z:" 3 $path = "\\$ip\D$" 4 $net.mapnetworkdrive($drive, $path, $true, $username, $password)
映射网络路径,布布扣,bubuko.com
映射网络路径
原文:http://www.cnblogs.com/dreamer-fish/p/3928628.html