goprasad
asked on
Script to delete *.pst files from a user profile share
Hello there,
I would like to run a script to delete *.pst file in each of the users profile located in profile share directory.
Please assist.
Thanks and Regards
I would like to run a script to delete *.pst file in each of the users profile located in profile share directory.
Please assist.
Thanks and Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The last command pipes the output to a text file for reference.
@goprasad - Thanks, and I was happy the help you.
Thanks for the update, goprasad. I'm glad it worked for you. Have a nice day...
ASKER
\\servername\Profiles$.
del /s "\\servername\Profiles$\*.
and what does the following command do?
>"%temp%\DeletedPSTs.txt"