Remove-Hgs
Attestation
Host
Group
Syntax
Remove-HgsAttestationHostGroup
[-Name] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-HgsAttestationHostGroup cmdlet removes an attestation policy that is based on the configuration of an Active Directory host group from Host Guardian Service (HGS).
Examples
Example 1: Remove a host group
PS C:\> Remove-HgsAttestationHostGroup -Name "TrustedADHostGroup14"
This command removes the host group named TrustedADHostGroup14 from the Attestation service. If a guarded host belongs to this host group and to no other trusted host group, the host can no longer obtain a new Attestation certificate.
Required Parameters
Specifies the friendly name of the host group for which this cmdlet removes a policy.
Type: | String |
Position: | 0 |
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 |