Set-UniflowBadge
SYNOPSIS
Set a UniFLOW badge code for a user in Active Directory.
SYNTAX
DESCRIPTION
This function assigns a badge code to a user in Active Directory. It ensures that the badge code is unique and not already assigned to another user. The function also supports clearing an existing badge code.
EXAMPLES
EXAMPLE 1
Assigns a badge code to the user "jdoe".
EXAMPLE 2
Assigns the badge code "123456" to the user "jdoe".
EXAMPLE 3
Clears the badge code for the user "jdoe".
PARAMETERS
-identity
The name or identity of the user(s). If ambiguous, the name of the user will be requested.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CardNumber
An optional badge number to assign to the user.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-clear
A switch to clear the existing badge code for the user.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.