Ok so I'm trying to map a network drive with a user name and password.
The issue I'm having is that the Get-creditial.password is not accepted as a parameter in Wscirpt.network.mapnetwork drive. This is the code I'm using
$cred = get-credential
$domain = "t2.local"
$user = $cred.UserName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.