Previous Topic: JobProgress--Will set a progress message / percentage for the Current JobNext Topic: Remove Win32 Program


Remove Target--Remove a Target from a Computer

This command removes targets from a computer.

Syntax:

sd_acmd RemoveTarget Propertystring
Propertystring

The property string may contain “TARGET=<target name> or TYPE=<type>.
The valid types are MACHINE, LOCAL_USER, DOMAIN_USER, PALM, WIN_CE, and NOKIA.
The TYPE= property may appear multiple times in the command if several target types are to be removed.

Examples:

In the following example:

sd_acmd removetarget TYPE=WIN_CE

Software Delivery removes all records of docking devices of Windows CE type that are attached to the Win32 desktop companion.

This cleans up the record on the desktop companion, if the Windows CE device had a native WinCE agent installed after having been a docking device on the desktop companion. 

If two local users are associated with the target computer, User1 and User2, then:

If you type

sd_acmd removetarget TARGET=T01M0234/User1

the local user, User 1, is removed.

If you type

sd_acmd removetarget TYPE=LOCAL_USER

all local users, User 1 and User 2, associated with the Software Delivery agent are removed.