Preface - An ASDK 2.0 Primer
Following up on my release of the simple utility for changing a computers DS Server target, Liteswitch, I am uploading another simple utility called Ticklr.
Ticklr is my first exercise in spelunking into the ASDK 2.0 (or any ASDK for that matter). After some coaxing by a friend to try out the ASDK, I gave it a shot. After looking around Connect I came across Screenbert's ASDK training video series. I went through his videos and followed along.
In Screenbert's training videos you can create a Webforms project and Winforms project for performing power management functions (tickling) on a remote client. The only issue I had was that the ComputerPowerManagement stuff has been deprecated in ASDK 2.0 so the apps written in ASDK 1.x no longer work to force a remote client to perform a config request and send its basic inventory.
In order to get this working on CMS 7 you now have to use the TaskManagementService method of 'ExecuteTask'.
The Good Stuff
Ticklr is very straightforward. You simply launch the app, input the name of the target, your domain name, and the name of your NS (where you have the ASDK installed) and voila, you should be in business.
Ticklr requires three things:
- An NS with ASDK 2.0 installed (this can be installed using the SIM)
- .NET 3.5 on the computer running the application
- The person running the app must have the permissions to execute the "Update Client Configuration" and "Send Basic Inventory" on the NS
After you fill out the three required fields you can click the "Update Config" button and this should send the task down to your target within a minute or two.
Fin
I've got some to-do's for this, features I'd like to add and what not. If anyone is interested in seeing the code for this please feel free to contact me here on connect and I'll gladly share.
Lastly, I'd really like to thank Screenbert for:
- Doing the original ASDK Training Videos
- Responding to my emails and helping me to get this working on ASDK 2.0
If you have an bug reports I'll gladly take those as well.