Set-RijksRegisterNummer
SYNOPSIS
Sets the RijksRegisterNummer on an account or clears it
SYNTAX
RRN (Default)
Set-RijksRegisterNummer [-Identity] <String> [-RijksRegisterNummer] <String> [-ClearMasterGUID] [-WhatIf]
[-Confirm] [<CommonParameters>]
Clear
Set-RijksRegisterNummer [-Identity] <String> [-Clear] [-ClearMasterGUID] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Sets the RijksRegisterNummer on an account or clears it
EXAMPLES
EXAMPLE 1
Set-RijksRegisterNummer -Identity 'CN=Smith John,OU=Users,DC=domain,DC=local' -RijksRegisterNummer 12345678901
Set the RijksRegisterNummer using a distinguished name as the identity
EXAMPLE 2
Set the RijksRegisterNummer using the alias for the identity parameter 'UserName' and clear the MasterData GUID
EXAMPLE 3
Remove the RijksRegisterNummer from the account
EXAMPLE 4
Remove the RijksRegisterNummer from the account and clear the MasterData GUID
PARAMETERS
-Identity
Active Directory user identity
Type: String
Parameter Sets: (All)
Aliases: User, Username
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-RijksRegisterNummer
The RijksRegisterNummer
Type: String
Parameter Sets: RRN
Aliases: RRN, RRNR
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Clear
Switch to clear the RijksRegisterNummer
Type: SwitchParameter
Parameter Sets: Clear
Aliases:
Required: True
Position: 2
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-ClearMasterGUID
Switch to clear the MasterData GUID
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
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
-Confirm
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
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.