Remove-Hgs
Guardian
Syntax
Remove-HgsGuardian
[-Name] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-HgsGuardian
[-InputObject] <CimInstance>
[-WhatIf]
[-Confirm]
[<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
The HGS guardian object to remove.
Type: | CimInstance |
Aliases: | Guardian |
Position: | 1 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
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
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 |
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 |