Personal tools
You are here: Home Inventory and SLM Collect PST file information

Collect PST file information

by Denny Cannon last modified 2007-05-31 17:50

How to find the number and size of PST files in the organization.

This script is an excellent example of how LANDesk Management Suite can be extended with VBSscript to gather and query just about any random chunk of data.

  1. Distribute the contents of findpst.zip to your client's c:\program files\landesk\ldclient directory (if that's not your %LDCLIENTDIR%, you'll want to edit these two files appropriately).
  2. Send a managed script to execute the script: REMEXEC00="wscript.exe C:\Progra~1\LANDesk\LDClient\FindPST.vbs", SYNC ought to do.
  3. Force an inventory scan.
  4. Query on machines where Custom Data - Total PST Size is larger than you like.
Since this is using an LDSCNHLP.INI extension, you'll want to manually edit that file if you plan on using findpst.vbs in addition to any other scripts that are launched from within that file.

Jack: UPDATE: Corel Draw uses a .pst file extension, which causes a lot of false positives; I've added a filter to prevent anything with Corel in the path being reported. This is a brute force regexp and will prevent accurate reporting from any users with names like Lance the UltraCorellian, but you really didn't want to know anything about his email anyway...
Server Says:
Many Myths are based on truth
-- Spock, "The Way to Eden", stardate 5832.3
Safety First!
63 Days without a Dumpster fire.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: