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