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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wildcards in System Management Server 1

Status
Not open for further replies.

trickydickyuk

Technical User
Apr 3, 2003
1
GB
I am looking for advise on using Wildcards in SMS, I want to create a query to find where all PST files are stored on User Machines, and I need to search using a wildcard sucha s a search on a normal pc where you use *.pst. Does anyone know if this is possible and if so could they send me some instructions.

Thanks a lot.

trickydickyuk.
 
SMS 2 does not collect file path location so while you can report the presence of a file on a PC, you can't report the file path.

Within the SMS admin console GUI you can enter % instead of *, and/or you can select criterion properties such as subselected values, list of values, etc.

To search for *.pst in SMS you could use a query such as this:

select distinct SMS_R_System.Name, SMS_G_System_SoftwareFile.FileName, SMS_G_System_SoftwareFile.FileSize, SMS_G_System_SoftwareFile.ModifiedDate from SMS_R_System left join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName like "%.pst"


What's a "normal PC"? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top