Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


SMS Client Version

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,38399
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> SMS Client Version
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 SMS Client Version - 10/5/2006 12:10:53 PM   
  takeda kozo

 

Posts: 83
Score: 0
Joined: 11/9/2005
Status: offline
Currently I am retrieving the SMS Client Version and SMS Site Code from registry keys

I would like to change the script, so that these values are being retrieved from the SMS object.

I've found the code for retrieving the SMS Site Code, but can someone help me with the client version ? (???????????????)

'+++++++++++++++++++++++++

strSMSnamespace = "root/ccm"
Machine = "REMOTE_PC_NAME"
strAdminUser = "Administrator"
strAdminPass = "Did_you_really_think_I_would_tell_you"

Set oWMIService = oWbemLocator.ConnectServer _
 (Machine, strSMSnamespace, strAdminUser, strAdminPass)

Set oSMSclient = oWMIService.Get("SMS_Client")

Set result = oSMSClient.ExecMethod_("GetAssignedSite")

   MsgBox "Client is currently assigned to site " & result.sSiteCode
   MsgBox "Client is running SMS Client version " & ???????????????

'+++++++++++++++++++++++++

(yes, this is from a HTA, so don't go dissin' my MsgBox's ;)


 
 
Post #: 1
 
 RE: SMS Client Version - 10/5/2006 4:03:35 PM   
  fran

 

Posts: 4
Score: 0
Joined: 8/10/2005
Status: offline
This link has some very cool useful SMS utilities. Got to the link http://sourceforge.net/users/rzander/  and under project info there are 8 utilities. This one  "SMS Collection Commander (smscollctr)" http://sourceforge.net/projects/smscollctr/  will list out a ton of information for the collection you specify including SMS site and version and other info. Enter your collection, sms server and site code then select the "show clients" button, then the ping button. Make sure you explore the top "Client Tab". A very very nice utility that will rapidly show you what's happening in your SMS environment.

(in reply to takeda kozo)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> SMS Client Version Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts