Sets a SystoLOCK NFC card key.
Set-SystoLockNfcCard [-Administrative] [-Id] <String[]> -NewKey <Secret> [-OldKey <Secret>] [-AuthType <NtdsAuthType>]
[-DomainController <String>] [-PassThru] [<CommonParameters>]
Set-SystoLockNfcCard [-Administrative] [[-InputObject] <ProximityCard>] -NewKey <Secret> [-OldKey <Secret>]
[-AuthType <NtdsAuthType>] [-DomainController <String>] [-PassThru] [<CommonParameters>]
The Set-SystoLockNfcCard cmdlet changes the key on an NFC card.
Set-SystoLockNfcCard -Id 043126C2A46580 -NewKey $key
Changes the key.
Get-SystoLockNfcCard -All | Set-SystoLockNfcCard -NewKey $key -OldKey $oldKey
Enumerates all cards available and changes their key.
Set-SystoLockNfcCard -Id 043126C2A46580 -Administrative -NewKey $key -OldKey $oldKey
Changes the administrative key.
Indicates that the administrative key should be changed instead of the application key.
Type: SwitchParameter
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: 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 one or more cards by CSN/UID identifier.
Type: String[]
Parameter Sets: Id+NewKey
Aliases: CSN, UID, SerialNumber, AnswerToReset, ATR
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the token objects to be processed.
Type: ProximityCard
Parameter Sets: InputObject+NewKey
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the new cryptographic key to set on the card.
Type: Secret
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the current cryptographic key of the card. Required when the card already has a non-default key.
Type: Secret
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns the NFC card object.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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 cards by CSN/UID identifier.
Specifies the token objects to be processed.