Sets PIN for a token assignment.
Set-SystoLockAssignmentPin [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>] [-DomainController <String>]
[-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Assignment] <Assignment> [-Pin] <String> [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Assignment] <Assignment> [-Reset] [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Pin] <String> [-Identifier] <String> [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Pin] <String> [-Token] <OathToken> [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Reset] [-Identifier] <String> [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Set-SystoLockAssignmentPin [-Reset] [-Token] <OathToken> [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Every assignment is protected by a PIN.
Thus command sets a PIN for a token assignment.
Set-SystoLockAssignmentPin -Identifier GAKT000168DE -Pin 123456
Sets a PIN for a token assignment, specifying a token ID.
Set-SystoLockAssignmentPin -Identifier GAKT000168DE -Reset
Resets (removes) a PIN for a token assignment, specifying a token ID.
Set-SystoLockAssignmentPin -SystoLockAssignment (Get-SystoLockAssignment -User (Get-ADUser Alice)) -Pin 123456
Sets PIN for a token assignment, resolving an assignment.
Set-SystoLockAssignmentPin -SystoLockAssignment (Get-SystoLockAssignment -User (Get-ADUser Alice)) -Reset
Resets PIN for a token assignment, resolving an assignment.
Set-SystoLockAssignmentPin -Token (Get-SystoLockAssignment -User (Get-ADUser Alice)).Token -Pin 123456
Sets PIN for a token assignment, resolving a token from an assignment.
Set-SystoLockAssignmentPin -Token (Get-SystoLockAssignment -User (Get-ADUser Alice)).Token -Reset
Resets (removes) PIN for a token assignment, resolving a token from an assignment.
Get-SystoLockAssignment -User (Get-ADUser Alice) | Set-SystoLockAssignmentPin -Pin 123456
Pipe processing.
Service address (optional).
You can pass an URL, a host name or a Service structure returned by previous Get-SystoLockService call.
Type: ServiceAddress
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Assignment structure.
Type: Assignment
Parameter Sets: AssignmentSet, AssignmentReset
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Authentication method to use with domain controller (optional).
The acceptable values for this parameter are: Kerberos and Negotiate.
The default authentication method is Kerberos.
Possible values: Kerberos, Negotiate
Type: NtdsAuthType
Parameter Sets: (All)
Aliases:
Accepted values: Kerberos, Negotiate
Required: False
Position: Named
Default value: Kerberos
Accept pipeline input: False
Accept wildcard characters: False
Domain controller name (optional).
You can pass a domain name, a fully qualified domain name or an IP address of the domain controller.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Token ID or URL.
Type: String
Parameter Sets: TokenIdSet, TokenIdReset
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
PIN code.
Type: String
Parameter Sets: AssignmentSet, TokenIdSet, TokenSet
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Reset (remove) PIN.
Type: SwitchParameter
Parameter Sets: AssignmentReset, TokenIdReset, TokenReset
Aliases:
Required: True
Position: 1
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Timeout (range: 1 - 30 seconds, default: 3 seconds).
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
OathToken structure.
Type: OathToken
Parameter Sets: TokenSet, TokenReset
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.
Assignment structure.
PIN code.
Reset (remove) PIN.
OathToken structure.
Token ID or URL.
This cmdlet does not generate any output.