# Inventory Compare Versions Subcommand

access: All users

Returns a list of all installed software packages and the version differences with those listed in a release manifest or those available on a running instance of the update server. You can use this command to verify that your installation is consistent with a supported release and to determine which packages that have been updated in a new release.

> inventory compare versions
> [{-f | -–file} RELEASE_MANIFEST_FILE |
> {{-i | --ipaddress} REMOTE_SERVER_IP]
> {-p | --port} REMOTE_SERVER_PORT]
> {-v | --verbose} [{-H | --noheader}]
> [{-D | --delim <DELIMITER>}]

Argument | Description
--- | ---
{-f | -–file} | The file describing all of the packages and versions within a release of software. These files are at the root directory of an unzipped NSV file and are usually accessed via the share point at \mnt.
{-i | --ipaddress} | The IP address of the update server.
{-p | --port} | The port used by the update server.
{-v | -–verbose} | Displays additional information, including the path to the matching package on the NSV, the installed package description, and the matching manifest package description. The verbose option is ignored when comparing to the update server (using the -i and -p options).
{ -H | --noheader } | Suppresses column headings.
{ -D | --delim } | Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.

Refer to the documentation that accompanied your server to identify appropriate versions and for details about the upgrade process.

Return Codes

Following are the return values for this command:

Code | Numeric Code | Description
--- | --- | ---
NWSE_Success | 0 | Command successfully completed.
NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server.
NWSE_ServiceNotAvailable | 24 | Requested service is not available. Unable to communicate with the update server.

Related Topics

System Management Commands

Inventory Command

Inventory Software Commands

Hardware Inventory Detail