Enable-AutoEnrollment
SYNOPSIS
Enable certificate auto enrollment
SYNTAX
Enable-AutoEnrollment [-Computer] [-UserOrCodeSigning] [<CommonParameters>]
DESCRIPTION
Enable auto-enrollment for computer or user/codesigning certificates in local group policy
EXAMPLES
Example 1
PS C:\> Enable-AutoEnrollment -UserOrCodeSigning
Will enable auto enrollment for the current user
PARAMETERS
-Computer
Indicates that auto-enrollment should be configured for machine certificates
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UserOrCodeSigning
Indicates that enrollment should be configured for user or code signing certificates
Type: SwitchParameter
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.