Synopsis
Removes the LabTech agent’sDisplayName registry entry from Add/Remove Programs so it no longer appears in the installed programs list. Specifically, the function sets the SystemComponent registry value to 1 under the agent’s Uninstall key, which is the standard Windows mechanism for suppressing a program from Programs and Features.
Syntax
Parameters
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
Hide the agent from Add/Remove Programs:Notes
Hide-LTAddRemove can be called automatically by Install-LTService when the -Hide switch parameter is provided. You do not need to call it separately after a fresh install if you pass -Hide to Install-LTService.Show-LTAddRemove.