How do I create a new shared drive with the provided credentials on the computer that is running the script?
Is there a PowerShell cmdlet that does that?
|
How do I create a new shared drive with the provided credentials on the computer that is running the script? Is there a PowerShell cmdlet that does that? | |||||||||||||
feedback
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.
|
This powershell function should work:
The following article on technet provides more information: | |||
|
feedback
|
|
Just use "net use" inside your powershell scripts:
| ||||
|
feedback
|