Remove-HgsGuardian

Removes a guardian from the guardian store.

Syntax

Remove-HgsGuardian
      [-Name] <String>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-HgsGuardian cmdlet removes a Host Guardian Service guardian object from the guardian store.

Examples

Example 1: Remove a guardian

PS C:\> Remove-HgsGuardian -Name "Guardian11"

This command removes the guardian named Guardian11 from the local store.

Required Parameters

-Name

Specifies the name of the guardian to remove.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False