Client Management Suite

 View Only

Web Page for Enabling Support to Deploy Tasks or Packages to Specific Machines in NS7 

Apr 01, 2011 02:22 PM

New for NS7!

Do you ever need to push a package out to a single computer but the hassle of creating a job in the console takes too long? Wouldn't you like to give desktop support or the helpdesk this ability and still control what packages they can deploy? Then this is the answer to all you have hoped for! We've been using this page for months now on NS7 and it rocks!

This page has the following functionality:

  1. Verify the computer exists in the SMP Console
  2. Populate a drop-down list with all the software packages in the specified folder in the SMP Console
  3. Deliver Selected software/tasks to the computer
  4. Check the Delivery Status of the package/task

If you have not ever done any Web programming, don't be intimidated. If you've done batch or VB scripting, you can muddle your way through it.

You'll need the following:

  • ASDK
  • Server with IIS
  • Basic programming knowledge. Preferably in C#.

If you haven't created any Web pages using the ASDK yet then follow the instructions found in the help file under "Creating and Using Proxy Classes" before you start using this Web page. That will set up the interface from the IIS server to the NS server. It will create some class files that you need to put in an APP_CODE folder where you house these files.

You will need to change several lines for your environment. Find everywhere it says YOURDOMAIN  or SERVER.YOURDOMAIN.COM (9 locations total) and replace them with... well, your domain name and server name.

 

taskMS.Url = string.Format("http://{0}/Altiris/ASDK.Task/TaskManagementService.asmx ", "SERVER.YOURDOMAIN.COM");


You will need to change line 283 and 284 with the GUID of the folder you create that contains the tasks you want the Drop down list populated with.

Using this page you can now allow desktop support to do in seconds what used to take up to 30 minutes!

For more information see this related article:

ASDK Training :: Writing Your Own Web Application

Statistics
0 Favorited
1 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
zip file
SWD_Task.zip   4 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Apr 04, 2011 04:02 PM

Glad to see you back in the ASDK world Screenbert!

Related Entries and Links

No Related Resource entered.