Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search PST files

Status
Not open for further replies.

tonyrhf

Technical User
Sep 14, 2006
3
US
I need to see which computer in the domain has PST files. Is this task possible with a script. Please help.
Thanks,
 
Set objDOmain = GetObject("WinNT://domainnamehere")
objDOmain.Filter = Array("Computer")
For Each objComputer In objDomain
'connect the remote pc' WMI and run a file search?
Next

'or

I would just script a dir /s *.pst > \\server\share\%computername%.txt in the logon script
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top