Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 1.69 KB

Hide-LTAddRemove.md

File metadata and controls

86 lines (54 loc) · 1.69 KB
schema
2.0.0

Hide-LTAddRemove

SYNOPSIS

This function hides the LabTech install from the Add/Remove Programs list.

SYNTAX

Hide-LTAddRemove [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function will rename the DisplayName registry key to hide it from the Add/Remove Programs list.

EXAMPLES

PARAMETERS

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Version: 1.2

Author: Chris Taylor

Website: labtechconsulting.com

Creation Date: 3/14/2016

Purpose/Change: Initial script development

Update Date: 6/1/2017

Purpose/Change: Updates for better overall compatibility, including better support for PowerShell V2

Update Date: 3/12/2018

Purpose/Change: Support for ShouldProcess. Added Registry Paths to be checked.

Modified hiding method to be compatible with standard software controls.

RELATED LINKS