Browse by Tags

All Tags » Scripting (RSS)

Kickin' it Old School - RunDll and RunDll32 by gramsey

Ran into a situation today where I needed to "lock workstation" over Remote Desktop. . . couldn't remember the command - a quick live search brought me here: http://www.robvanderwoude.com...

How To: Remotely Show Machine Advertisement Information for a ConfigMgr Client using PowerShell by gramsey

Here's a quick example for how to query advertisements from a remote (or local) system. Just replace "myComputerName" with the computer name to query. Provided you have proper rights to that...

How to Trigger ConfigMgr Hardware Inventory using PowerShell by gramsey

Here's a brief "How To" for initiating hardware inventory on a remote system using Windows PowerShell. Here it is in simple form: $SMSCli = [wmiclass] "\\myComputerName\root\ccm:SMS_Client"...

more handy than a shirt pocket by gramsey

Anyone reading this live near Evansville, Indiana ? If so, and you happen to run into the owners of www.cruto.com , do me a favor and shake their hands. I stumbled across their Vbscript-Examples page today...
Filed under:

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

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...
Filed under: ,

How to: Identify the Advertisement that is Currently Running on a Client by gramsey

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://" &...
Filed under: ,

Displaying the Current Management Point and Proxy Management Point Using VBScript by gramsey

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...
Filed under: ,
Powered by Community Server (Commercial Edition), by Telligent Systems