PC-Duo Host User Guide
×
Menu

RmHostID Syntax

RmHostID accepts command line flags that control its behavior:
 
u  -p prompt for confirmation before deleting HostID
u   -prompt same as ‘-p
u   -? displays help text describing how to use RmHostID
 
RmHostID expects two arguments (in addition to any flags) on its command line. The first argument specifies which HostIDs should be considered duplicates, and therefore should be deleted. The second argument specifies which machine or machines should be examined.  The HostID specification (first argument) can be one of:
 
u   A specific GUID, in the form “{C8E645A4-AF10-46f7-838B-A75105C8AA13}”
u   A star (“*”), signifying that all HostIDs found should be deleted
u   An at sign (“@”) followed immediately by a filename. This causes the specified file to be read, and each line should contain a single GUID.
 
The machine’s specification (second argument) can be one of:
 
u   If the machine specification is missing, the local machine is checked
u   A specific machine name, as either a NetBIOS machine name or a DNS name
u   A star (“*”), which instructs RmHostID to enumerate all machines on the network
u   An at sign (“@”) followed immediately by a filename. This causes the specified file to be read, and each line should contain a single machine name (as either a NetBIOS machine name or a DNS name).