映射网络路径:
1 $net = New-Object -com WScript.Network 2 $drive = "Z:" 3 $path = "\$ipD$" 4 $net.mapnetworkdrive($drive, $path, $true, $username, $password)
映射网络路径:
1 $net = New-Object -com WScript.Network 2 $drive = "Z:" 3 $path = "\$ipD$" 4 $net.mapnetworkdrive($drive, $path, $true, $username, $password)