Skip to content

Test-RijksRegisterNummer

SYNOPSIS

Test if the provided value is a valid RijksRegisterNummer

SYNTAX

Test-RijksRegisterNummer [[-RijksRegisterNummer] <String>] [-PassThru] [<CommonParameters>]

DESCRIPTION

Test if the provided value is a valid RijksRegisterNummer

EXAMPLES

EXAMPLE 1

Test-RijksRegisterNummer -RijksRegisterNummer 12345678901

EXAMPLE 2

Test-RijksRegisterNummer -RRN 12345678901

EXAMPLE 3

'12345678901','10987654321' | Test-RijksRegisterNummer

PARAMETERS

-RijksRegisterNummer

The RijksRegisterNummer

Type: String
Parameter Sets: (All)
Aliases: RRN, RRNR, Value

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-PassThru

Instead of returning a boolean, it returns the RijksRegisterNummer if it is valid

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: False
Accept pipeline input: True (ByPropertyName)
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.

INPUTS

String

OUTPUTS

Boolean (or String if you use -PassThru)

NOTES