Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-HgsAttestationHostGroup

Last Updated: 3/29/2017

SYNOPSIS

Gets attestation policies based on host groups.

SYNTAX

Get-HgsAttestationHostGroup [-Name <String>] [<CommonParameters>]

DESCRIPTION

The Get-HgsAttestationHostGroup cmdlet gets attestation policies that are based on the configuration of Active Directory host groups. To obtain a particular host group policy, specify it by name.

EXAMPLES

Example 1: Get policies for all host groups

PS C:\> Get-HgsAttestationHostGroup

This command gets policies for all host groups configured with the Attestation service.

Example 2: Get a specific policy for a host group

PS C:\> Get-HgsAttestationHostGroup -Name "TrustedADHostGroup14"

This command gets the policy for the host group named TrustedADHostGroup14.

PARAMETERS

-Name

Specifies the friendly name of the host group for which this cmdlet gets the policy.

Type: String
Parameter Sets: (All)
Aliases: 

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

System.Collections.Specialized.StringCollection

This cmdlet returns a StringCollection object.

NOTES

Add-HgsAttestationHostGroup

Remove-HgsAttestationHostGroup

© 2017 Microsoft