Synopsis
Changes the display name of the LabTech agent in Add/Remove Programs by updating theDisplayName (and optionally the Publisher) registry value under the agent’s Uninstall key. This is useful for white-labeling deployments or presenting a custom name to end users.
Syntax
Parameters
The new display name for the LabTech agent as it will appear in the Add/Remove Programs list. Accepts any string value. Position: 1.
The new publisher name to display alongside the entry in Programs and Features. When omitted, the publisher field is left unchanged. Position: 2.
Shows what would happen if the cmdlet runs without actually making any changes. Alias:
wi.Prompts for confirmation before applying each registry change. Alias:
cf.-Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
Examples
Rename the agent entry to a custom display name:Notes
Rename-LTAddRemove can be called automatically by Install-LTService when the -Rename parameter is provided. The value passed to -Rename is forwarded directly to the -Name argument of this function.Hide-LTAddRemove, the hidden key is updated so the new name takes effect immediately when the entry is restored with Show-LTAddRemove.