New-CMTpmAutoResealPolicy

Create a policy to control whether Windows refreshes platform validation data when it starts after BitLocker recovery.

Syntax

New-CMTpmAutoResealPolicy
   [-PolicyState <State>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

Create a policy to control whether Windows refreshes platform validation data when it starts after BitLocker recovery.

Examples

Example 1: New default enabled policy

This example creates a policy that's enabled.

New-CMTpmAutoResealPolicy -PolicyState Enabled

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PolicyState

Use this parameter to configure the policy.

  • Enabled or NotConfigured: If you enable or don't configure this policy, Windows refreshes platform validation data when it starts after BitLocker recovery.

  • Disabled: If you disable this policy, Windows doesn't refresh platform validation data when it starts after BitLocker recovery.

Type:State
Accepted values:Enabled, Disabled, NotConfigured
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.ConfigurationManagement.AdminConsole.BitlockerManagement.PolicyObject