Get one or more OATH token objects.
Get-SystoLockOathToken [[-Identifier] <String[]>] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>]
[<CommonParameters>]
Get-SystoLockOathToken [[-Filter] <String>] [[-SortBy] <String>] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>]
[<CommonParameters>]
The Get-SystoLockOathToken
cmdlet cmdlet get one or more OATH token objects or performs a search to get multiple objects.
If no token identifier are specified the information about all tokens is returned.
To search for and get more than one object, use the Filter parameters.
For more information about the Filter parameter syntax, type 'Get-Help about_Oath_Tokens_Filter'.
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.
Get-SystoLockOathToken -Identifier GAKT000168DE
Gets a single OATH token object using its identifier.
Get-SystoLockOathToken -Identifier GAKT000168DD, GAKT000168DE, GAKT000168DF
Gets multiple OATH token objects.
Get-SystoLockOathToken -Filter 'User -like Al*'
Gets tokens using filter condition.
Get-SystoLockOathToken -Filter 'Interval -gt 30' -SortBy Manufacturer
Gets tokens using filter condition with a custom sorting key.
Get-SystoLockOathToken -Filter 'Interval -gt 30' -SortBy Manufacturer -Descending
Gets tokens using filter condition with a custom sorting key and order.
Get-SystoLockOathToken -First 5 -Skip 1
Gets tokens using paging parameters.
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
Allows objects to be filtered (default expression: 'Identifier -eq *').
Type: String
Parameter Sets: Filter
Aliases:
Required: False
Position: 0
Default value: Identifier -eq *
Accept pipeline input: False
Accept wildcard characters: False
Gets only the specified number of objects.
Enter the number of objects to get.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies token identifier or URL.
Type: String[]
Parameter Sets: Identifier
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Reports the total number of objects in the data set (an integer) followed by the selected objects.
If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value.
The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Ignores the specified number of objects and then gets the remaining objects.
Enter the number of objects to skip.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies field to sort by (optional).
Type: String
Parameter Sets: Filter
Aliases:
Required: False
Position: 1
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.
Descending sort order (no parameter: ascending sort order).
Dynamic parameter, used only if a sorting field specified.
Represents OTP token information.
Algorithm: OTP algorithm identifier.
Class: OATH token class.
Constraints: OTP token constraints if any applied.
NotAfter: usage end date of the token.
NotBefore: usage start date of the token.
NumberOfTransactions: maximum number of times the token can be used.
FriendlyName: token friendly name.
Identifier: token unique identifier.
Interval: time interval value for time-based OTP algorithms in seconds.
Manufacturer: token manufacturer name.
Model: token model name.
ResponseLength: length of a one-time password.
RuntimeContext: OTP token runtime context.
DisableTime: value indicating whether and when the token was disabled.
Drift: value indicating token drift for time-based OTP algorithms.
Failures: time of last failed authentication.
LastTimeUsed: value indicating the token was last time used.
LockTime: value indicating whether and when the token was locked.
PerformedTransactions: value indicating the number of successfully performed transactions.
User: identifier of a user this token is assigned to.
Secret: token secret value.
IssueNumber: token issue number.
If no sort field is specified for a filter operation, the default sort order is 'Identifier'.
If you are performing sorting on a nullable field, e.g.
'Interval', only non-null values of the filled are included into the result set.