This is a new feature added in ESXi 7.0 U1. Using the powerCLI script, users can configure the appinfo feature only for the hosts atleast ESXi 7.0 U1
Sample usage of the new PowerCLI script:
Usage help for new powercli script: Download KB_81033_configure_AppInfo.ps1 from the attachments:
Configure-AppInfo.ps1 [-ConfigAction] <string> -Server <string> -User <string> -Password <string> [-Cluster <string>] [-Datacenter <string>] [-HostName <string>] [-Enable <string>] [<CommonParameters>]Examples:
To retrieve the appinfo state for all the hosts at a datacenter level, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Datacenter stanguturi -ConfigAction getTo retrive the appinfo state for all the hosts at a cluster level, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Cluster cluster -
ConfigAction getTo retrieve the appinfo state for a specific host, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -HostName <IP address> -ConfigAction getTo enable the appinfo state for all hosts at a datacenter level, run the command
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Datacenter stanguturi -ConfigAction set -Enable TrueTo disable the appinfo state for all hosts at a datacenter level, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Datacenter stanguturi -ConfigAction set -Enable FalseTo enable the appinfo state for all hosts at a cluster level, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Cluster cluster -ConfigAction set -Enable TrueTo disable the appinfo state for all hosts at a cluster level, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -Cluster cluster -ConfigAction set -Enable FalseTo enable the appinfo state for a specific host, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -HostName <IP address> -ConfigAction set -Enable TrueTo disable the appinfo state for a specific host, run the command:
./Configure-AppInfo.ps1 -Server <IP address> -User '[email protected]' -Password '<password>' -HostName <IP address> -ConfigAction set -Enable False