This is an example of output from the show env xps version command:
Switch# show env xps version
=============================================
XPS 0022.bdd7.9b14:
=============================================
Serial Number: FDO13490KUT
Hardware Version: 8
Bootloader Version: 7
Software Version: 18
Table 50: Related Commands
DescriptionCommand
Configures XPS and XPS port names.power xps(global configuration command)
Configures the XPS ports and system.power xps(privileged EXEC command)
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
953
show env xps