I want to create a script that will allow the user to input info to map a drive. I need them to place the user name domain password and the server and share they want to map to and map the drive. I am trying to figure out but no luck. I am able to use net use and psdrive to map but I don't know how to create input for the user to input these values
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.