Saturday, 15 May 2010

permissions - Open remote location from PowerShell as different user -



permissions - Open remote location from PowerShell as different user -

i need open remote folder lot of times, , utilize start in powershell way

start \\myserverxxx\some_hidden_drive$\some_folder

sometimes need utilize administrator account, , expect prompted insert different credential, error instead. missing something?

use credential alternative follows

start \\myserverxxx\some_hidden_drive$\some_folder -credential $(get-credential)

this prompt come in different credentials

powershell permissions active-directory

No comments:

Post a Comment