Life of a techno-guru
Thursday, September 25, 2008
  Retrieving a list of SCCM SP1 compatible vPro /AMT clients
If you're running System Center Configuration Manager 2007 SP1 and you have the ConfigMgr client deployed, and you have Intel vPro clients, you may want to know how many clients you have. Here is a quick script that you can use to get a list of Intel vPro clients that are running AMT firmware version 3.2.1 or greater, and are natively supported by ConfigMgr OOB (out-of-band) management. Replace the SiteServer and SiteCode variables, and you'll be good to go!

Option Explicit

dim SiteServer, SiteCode, AMTQuery, svcs, AMTAgent, AMTAgents

SiteServer = "SCCMServer"
SiteCode = "LAB"

AMTQuery = "select * from SMS_G_System_AMT_Agent " & _
"join SMS_G_System_Computer_System on SMS_G_System_AMT_Agent.ResourceID = SMS_G_System_Computer_System.ResourceID " & _
"where AMT not like '3.0%' " & _
"and AMT not like '2%' " & _
"and AMT not like '1%' "

set svcs = GetObject("winmgmts:\\" & SiteServer & "\root\sms\site_" & SiteCode)
set AMTAgents = svcs.ExecQuery(AMTQuery)

for each AMTAgent in AMTAgents
wscript.echo AMTAgent.SMS_G_System_Computer_System.Name & vbtab & AMTAgent.SMS_G_System_Computer_System.Model & vbtab & AMTAgent.SMS_G_System_AMT_Agent.AMT
next

wscript.echo vbcrlf & vbcrlf & "Total count of ConfigMgr SP1 compatible vPro clients: " & AMTAgents.Count
 
Comments: Post a Comment



<< Home
My life of learning various things about technology including network administration, development, and 3D design

Name:
Location: Chicago, Illinois, United States
ARCHIVES
January 2006 / February 2006 / March 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / August 2007 / December 2007 / January 2008 / March 2008 / April 2008 / June 2008 / July 2008 / September 2008 / December 2008 / January 2009 / February 2009 / March 2009 / May 2009 /


Powered by Blogger