in

myITforum.com

Browse by Tags

  • How To: Force an SMS Advanced Client to Re-Discover its Site

    Here's a sample VBscript to remotely initiate a client re-discovery (just like clicking the "Discover" button on an SMS advanced client). strComputerName = "2kPro" Set objWMIService = GetObject("winmgmts://" & strComputerName & "/root/ccm") Set objSMSClient...
    Posted to Greg Ramsey (Weblog) by gramsey on 10-20-2006
    Filed under: SMS, Scripting
  • How to: Identify the Advertisement that is Currently Running on a Client

    Here's an example of how to identify the AdvertisementID of an advertisement that is currently running on your client. strComputer = "." Set objSMS = GetObject("winmgmts://" & strComputer & "/root/ccm/SoftMgmtAgent") Set colER = objSMS.ExecQuery _ ("Select...
    Posted to Greg Ramsey (Weblog) by gramsey on 10-17-2006
    Filed under: SMS, Scripting
  • Displaying the Current Management Point and Proxy Management Point Using VBScript

    Here's an example of displaying the current management point for an SMS Advanced Client: strComputerName = "2kPro" '2kPro is the name of the computer to query Set objSMS = GetObject("winmgmts://" & strComputerName & "/root/ccm") 'Connect to the Adv Client...
    Posted to Greg Ramsey (Weblog) by gramsey on 10-12-2006
    Filed under: SMS, Scripting
  • Having trouble with WMI?

    Here are a couple recently added resources which are available to help keep WMI running well on Windows systems. The TechNet Scripting Guys have put together a nice article describing how to utilize Microsoft's new WMI Diagnosis Utility to diagnose and repair WMI on Windows 2000, Windows XP, Windows...
    Posted to Dan Thomson at myITforum.com (Weblog) by dthomson on 03-11-2006
    Filed under: Scripting, Resources & Tools, WMI, SMS
  • Unpacking SMS NAL paths via script

    It can sometimes get clumbsy working with SMS NAL paths and having to figure out a routine to parse the data. Fortunately, there already exists a WMI method to do this for us -UnPackNALPath. Below is a simple vbscript that demonstrates how to use the method and how the data is returned. Dim objSWbemLocator...
    Posted to Dan Thomson at myITforum.com (Weblog) by dthomson on 03-24-2008
    Filed under: Scripting, SMS, VB Script, ConfigMgr
  • M@d Skillz - Introducing a new degree of difficulty

    I've been getting some positive feed back on how much detail I've been putting into my posts and how appreciative people are that I include the full explainations for those people who don't know a thing about the topic, or don't know enough about it. But I've also been getting some...
    Posted to Number2 Blog - MyITForum.com (Weblog) by jnelson on 11-19-2007
    Filed under: SQL, SCCM, SMS, SCOM, shell scripting, Winbatch, batch scripting, powershell, scripting, vbscript
Page 1 of 1 (6 items)
Copyright - www.myITforum.com, Inc. - 2007 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems