powershell - New-PSDrive --Persist doesn't work -
i'm using powershell map network drives on few computers. it's been working fine mostly, it's failing on computer haven't tried on before.
i'm doing
new-psdrive -persist -name $name -psprovider filesystem -root $path -scope global
and succeeds. can access mapped drive in powershell... can't find in explorer, , can't find in cmd.exe. doing net use
in powershell shows them ok, doing net use
in cmd.exe shows them unavailable.
this works fine on other computers though!
all computers running win 7, , have same version of powershell, 3.0. computer isn't working might missing windows updates present on ones working. can't connect them internet install updates, , have manually install them via burned cds...
mapped drives per user.
if powershell session running different user user logged windows, drives map in powershell session not show in windows explorer.
you need map drives powershell session running same user logged windows.
Comments
Post a Comment