Command-line format
Command-line usage
XbUpdateHosts add
Adds or replaces the provided host name mapping to the console.Usage
xbupdatehosts add <target host name> <IP address> @auto can be specified for the host name to use the development PC host name and fully qualified domain name. @auto can be specified for the IP address parameter to indicate the IP address that’s connecting to the console is used for the value. This is useful if the development PC is connected to multiple networks.XbUpdateHosts remove
Removes the provided host name mapping from the console.Usage
xbupdatehosts remove <target host name> @auto can be specified for the host name to remove both the development PC host name and the fully qualified domain name.XbUpdateHosts list
Lists all host name mappings that are stored on the console.Usage
xbupdatehosts list This command outputs the list of host name mappings that are on the console.XbUpdateHosts backup
Creates a backup of all host name mappings that are stored on the console.Usage
xbupdatehosts backup <backup file name>XbUpdateHosts restore
Restores all host name mappings to the console from a file.Usage
xbupdatehosts restore <backup file name>Command-line examples
Common command-line examples for XbUpdateHosts are as follows.- Add a mapping for the current development PC based on the address connecting to the console: xbupdatehosts add @auto @auto
- Add a mapping for another host based on the address connecting to the console: xbupdatehosts add other.host.name @auto
- Remove a mapping: xbupdatehosts remove other.host.name
- Backup mappings: xbupdatehosts backup .\hostsbackup.txt
- Restore mappings: xbupdatehosts restore .\hostsbackup.txt
