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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -