Report Mapped Drives
I am looking for a procedure that we can run on a machine, that will email the user running the procedure, a text document, with that systems current users, mapped drives.
So the user that ran the report, will receive an email, with this systems, mapped drives, for the current user, location and drive letter.
in the script run NET USE and have it output the results to a txt file, then read the text file into a variable, finally create the email with the variable in the body and VOILA! You should be able to use this in conjunction with BMS Tickets so someone creating a ticket with a specific keyword will cause the script to run on their PC and you would be able to pull the email from a variable that way for where to send the results - you should even be able to read the text file variable and post that into the ticket, which can then send the email as an update with the results and close the ticket automatically!5