Search found 2 matches
- Fri Nov 30, 2018 11:22 am
- Forum: PowerShell
- Topic: Launch script without existing network connections?
- Replies: 2
- Views: 1990
Re: Launch script without existing network connections?
The user already has a connection to that server. You cannot create two connections with different credentials. THis is a base Windows restriction and has nothing to do with PowerShell. The way to do this is to give users read and write access to a single folder on a server so the user account can ...
- Fri Nov 30, 2018 8:58 am
- Forum: PowerShell
- Topic: Launch script without existing network connections?
- Replies: 2
- Views: 1990
Launch script without existing network connections?
I have a script that needs to be run as the logged in user. It gathers information about the user and saves the data to a shared location. The user can't have read or write access to the shared folder. When I create a new-psdrive for the connection: $secpassword = ConvertTo-SecureString 'xxxxx' -asp...