Sets or updates OATH token object properties.
Set-SystoLockOathToken [[-FriendlyName] <String>] [-Identifier] <String> [[-IssueNumber] <String>]
[[-Manufacturer] <String>] [[-Model] <String>] [[-NotAfter] <DateTime>] [[-NotBefore] <DateTime>]
[[-NumberOfTransactions] <Int64>] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
The Set-SystoLockNfcToken
cmdlet sets additional or updates existing OATH token properties.
The value $null
can be used to remove properties.
All cmdlets interacting with SystoLOCK service have -Address and -Timeout parameters to adjust their behavior.
You can also set $SystoLockAddress and $SystoLockTimeout PowerShell variables or $SystoLockAddress and $SystoLockTimeout environment variables which let you specify these parameters as defaults.
If no parameters or environment variables are specified, the timeout defaults to 3 seconds and the address is obtained from DNS for current domain and site.
Set-SystoLockOathToken -Identifier GAKT000168DE -NotBefore '18.10.2025'
Sets OATH token activation time.
Set-SystoLockOathToken -Identifier GAKT000168DE -NotAfter '18.12.2025'
Sets OATH token expiration time.
Set-SystoLockOathToken -Identifier GAKT000168DE -NumberOfTransactions 100
Sets an OATH token maximum number of allowed authentication.
Set-SystoLockOathToken -Identifier GAKT000168DE -Manufacturer Systola
Set an OATH token manufacturer name.
Set-SystoLockOathToken -Identifier GAKT000168DE -IssueNumber 000168DE
Sets an OATH token issue number.
Set-SystoLockOathToken -Identifier GAKT000168DE -Model 003
Sets an OATH token model name.
Set-SystoLockOathToken -Identifier GAKT000168DE -FriendlyName "John's token"
Sets an OATH token friendly name.
Set-SystoLockOathToken -Identifier GAKT000168DE -NotBefore '18.10.2026' -NumberOfTransactions 100 -Manufacturer Systola -Model 003
Sets multiple properties at once for a token specified by its identifier.
Set-SystoLockOathToken -Identifier GAKT000168DE -NotBefore $null -NumberOfTransactions $null -Manufacturer $null -Model $null
Resets multiple properties at once for a token specified by its identifier.
Get-SystoLockOathToken -Filter 'User -like Alice*' | Set-SystoLockOathToken -NotAfter '18.10.2026'
Gets multiple OATH tokens using filter condition and sets their expiration time.
Specifies service address (optional).
Accepts 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
Specifies authentication method to use with domain controller (optional).
The acceptable values for this parameter are: Kerberos and Negotiate.
The default 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
Specifies domain controller name (optional).
Accepts 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
Specifies friendly name (optional).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies token identifier or URL.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies issue number (optional).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies manufacturer name (optional).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies model name (optional).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies token usage end date (optional).
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies token usage start date (optional).
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies maximum number of login negotiations (optional).
Type: Int64
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Specifies token identifier or URL.
Any cmdlet parameter except Identifier could be set to $null to remove it from a token description.