description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.Windows.RemoteAttestation.Server.PowerShell.dll-Help.xml |
HgsAttestation |
12/20/2016 |
2.0.0 |
Get-HgsAttestationPolicy |
Gets HGS attestation policies.
Get-HgsAttestationPolicy [[-Name] <String>] [-State <AttestationPolicyState>]
[-PolicyType <AttestationPolicyType[]>] [-PolicyVersion <PolicyVersion>] [-Stage] [<CommonParameters>]
The Get-HgsAttestationPolicy cmdlet gets Host Guardian Service (HGS) attestation policies.
PS C:\> Get-HgsAttestationPolicy
This command gets all policies that are currently configured for the Attestation service.
PS C:\> Get-HgsAttestationPolicy -Name "BaselineTpmPolicy16"
This command gets the policy named BaselineTpmPolicy16.
PS C:\> Get-HgsAttestationPolicy -PolicyType SecureBootSettings
This command gets policies that have the type Tpm.
PS C:\> Get-HgsAttestationPolicy -State Enabled
This command gets all enabled policies.
Specifies the name of the policy that this cmdlet gets. Use wildcard characters to get more than one policy.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the type of the policies that this cmdlet gets.
Type: AttestationPolicyType[]
Parameter Sets: (All)
Aliases:
Accepted values: Unknown, SecureBootEnabled, SecureBootSettings, CiPolicy, UefiDebugDisabled, FullBoot, VsmIdkPresent, BitLockerEnabled, IommuEnabled, PagefileEncryptionEnabled, HypervisorEnforcedCiPolicy, NoHibernation, NoDumps, DumpEncryption, DumpEncryptionKey
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Reserved for future use.
Type: PolicyVersion
Parameter Sets: (All)
Aliases:
Accepted values: None, PolicyVersion1503, PolicyVersion1704
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Reserved for future use.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the state of the policies that this cmdlet gets. The acceptable values for this parameter are:
- Enabled
- Disabled
- Locked
Type: AttestationPolicyState
Parameter Sets: (All)
Aliases:
Accepted values: Disabled, Enabled, Locked
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
You can pipe strings to this cmdlet.
This cmdlet returns attestation policy information.