Removes NFC token assignment.
Remove-SystoLockNfcTokenAssignment [-Id] <String[]> [-PassThru] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-SystoLockNfcTokenAssignment [[-InputObject] <ProximityToken>] [-PassThru] [-Address <ServiceAddress>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-Timeout <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Remove-SystoLockNfcTokenAssignment [-PassThru] [-User <String>] [-Address <ServiceAddress>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-Timeout <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
The Remove-SystoLockNfcTokenAssignment
cmdlet revokes a SystoLOCK NFC token from an Active Directory user.
In the case of by-user call all tokens assigned to the user are revoked.
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.
Remove-SystoLockNfcTokenAssignment YSNF000168DD
Removes NFC token assignment by token identifier.
Remove-SystoLockNfcTokenAssignment -User tom
Removes all NFC token assignments by user name.
Get-SystoLockNfcCard | Remove-SystoLockNfcTokenAssignment
Removes all NFC token assignments by user name.
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
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
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 token identifier or URL.
Type: String[]
Parameter Sets: Id
Aliases: Identifier, Token
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the token objects to be processed.
Type: ProximityToken
Parameter Sets: InputObject
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Returns the unassigned NFC token object.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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
Accepts user name, distinguished name, principal name, SAM account name, GUID, SID or ADUser object.
Type: String
Parameter Sets: User
Aliases: DistinguishedName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
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 one or more NFC tokens by token identifier.
Specifies NFC token object to be processed.
This cmdlet does not generate any output, unless PassThru parameter is specified.
Identifier: token identifier.
AssignedTo: Distinguished name of a user the token is assigned to.
Algorithm: NFC token algorithm.
Type: NFC token type.
FriendlyName: token friendly name.
HasConstraints: A boolean value indicating that a token has constraints, such as lifetime or limited number of transactions allowed.
LastUsed: the time when the current token was last used.
PerformedTransactions: the number of times token has been used.
NumberOfTransactions: Maximum number of times the token is allowed to be used.
IsActive: A boolean value indicating whether the token is active, e.g. is not disabled or locked.
DisabledOn: the time when the current token has been disabled.
LockedOn: the time when the current token has been locked.
CreationTime: the time when the current token has been created.
NotAfter: the time after which the token is no longer valid.
NotBefore: the time before which the token is not yet valid.
PinlessLogin: if configured, contains PIN-less configuration properties.