Skip to content

Remove-Equipment

SYNOPSIS

Remove an equipment mailbox.

SYNTAX

Remove-Equipment [[-naam] <Object>] [-Confirm]

DESCRIPTION

The `Remove-Equipment` function removes an equipment mailbox created within the constraints of the room management project. It allows specifying the equipment name or selecting it interactively. The function confirms the removal before proceeding.

EXAMPLES

EXAMPLE 1

Remove-Equipment -naam "Projector1"

Removes the equipment mailbox named "Projector1" after confirmation.

EXAMPLE 2

Remove-Equipment -naam "Projector1" -Confirm

Removes the equipment mailbox named "Projector1" without confirmation prompts.

PARAMETERS

-naam

The name of the equipment to be removed.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

A switch to bypass confirmation prompts during the removal process.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES