Remove-HgsAttestationHostGroup
Removes an attestation policy based on a host group.
Syntax
Default (Default)
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.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the friendly name of the host group for which this cmdlet removes a policy.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.