Summary
Sets the update settings for the HP Workforce Experience agent
Syntax
Set-HPWxpAgentVersionUpdates [-InsightsAgentVersion <String>] [-AnalyticsAgentVersion <String>] [-InsightsPluginVersion <String>] [-StrictVersioning <Boolean>] [<CommonParameters>]
Description
This command sets the update settings for the HP Workforce Experience agent, allowing you to enable or disable automatic updates and specify particular versions of the Insights Agent, Analytics Agent, and Insights Plugin to use. For more information, please visit https://learn.workforceexperience.hp.com/docs/managing-software-updates-for-hp-insights
Parameters
| Name | Argument | Description |
|---|---|---|
| AutoUpdateEnabled | <Boolean> | If set to $true, this will enable automatic updates for the Workforce Experience agent. If set to $false, automatic updates will be disabled. |
| InsightsAgentVersion | <String> | Specifies the version of the HP Insights package to use. Cannot be set if AutoUpdateEnabled is set to $true. |
| AnalyticsAgentVersion | <String> | Specifies the version of the HP Insights Analytics package to use. Cannot be set if AutoUpdateEnabled is set to $true. |
| InsightsPluginVersion | <String> | Specifies the version of the HP Insights Plugin package to use. Cannot be set if AutoUpdateEnabled is set to $true. |
| StrictVersioning | <Boolean> | If set to $true, this will enable force-update Opt-Out option. If set to $false, the Force-Update Opt-Out option will be disabled. Cannot be set if AutoUpdateEnabled is set to $true. |
Examples
PS C:\> Set-HPWxpAgentVersionUpdates -AutoUpdateEnabled $true
PS C:\> Set-HPWxpAgentVersionUpdates -InsightsPluginVersion "1.0.0.0" -UseStrictVersioning $true