Exports a SystoLOCK token information.
Export-SystoLockOathToken [-File] <String> [[-Filter] <String>] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Export-SystoLockOathToken [-File] <String> [-Identifier] <String[]> [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
Export-SystoLockOathToken [-File] <String> [-Token] <OathToken[]> [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [<CommonParameters>]
The Export-SystoLockOathToken cmdlet saves token information to an XML file.
The information for all tokens is exported if no filter parameter is specified.
To export 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.
Export-SystoLockOathToken -File 'C:\tokens.pskcxml' -Identifier GAKT000168DE
Exports a single token.
Export-SystoLockOathToken -File 'C:\tokens.pskcxml' -Identifier GAKT000168DD, GAKT000168DE, GAKT000168DF
Exports a group of tokens.
Export-SystoLockOathToken -File 'C:\tokens.pskcxml' -Filter 'Interval -gt 30'
Exports tokens by a filter.
Export-SystoLockOathToken -File 'C:\tokens.pskcxml'
Exports all tokens.
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 XML file name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
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: 1
Default value: Identifier -eq *
Accept pipeline input: False
Accept wildcard characters: False
Specifies token identifier or URL.
Type: String[]
Parameter Sets: Identifier
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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
Specifies OathToken structure.
Type: OathToken[]
Parameter Sets: Token
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (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.
Specifies token identifier or URL.
Specifies OathToken structure.
Represents OTP token information.
Algorithm: OTP algorithm identifier.
Class: OATH token class.
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.
DisabledOn: value indicating whether and when the token was disabled.
Drift: value indicating token drift for time-based OTP algorithms.
LastUsed: value indicating the token was last time used.
LockedOn: value indicating whether and when the token was locked.
CreationTime: the time when the token was created.
PerformedTransactions: value indicating the number of successfully performed transactions.
HasConstraints: value indicating whether the token has constraints.
AssignedTo: identifier of a user this token is assigned to.
Secret: token secret value.
SecretSize: the size of the token secret.
IssueNumber: token issue number.
Specifies file information.
If a file already exists, it will not be processed.