I need a script to get Outlook pst names from remote computers
Posted on 2014-10-07
I would like to use a script to get the names (including path), sizes and modified dates of all *.pst files on the remote computers. Since I would like to get familiar with Powershell, I would prefer a Powershell script but a vbs script is ok too.
I have seen some scripts which can get this information from the WMI database. If that would be faster than scanning the entire C:\ drive then this is good but either way is fine with me.
I would like the script to get the computer names to scan from a text file called computers.txt which exists in the same directory as the script.
I would like the output to be placed in a .csv file in the same directory where the script exists.
I only want the script to look on the C:\ drive, not mapped drives.