Set-Equipment
SYNOPSIS
Update the properties of an equipment mailbox.
SYNTAX
Set-Equipment [[-naam] <Object>] [[-locatie] <Object>] [[-infratype] <Object>] [[-infranr] <Object>]
[[-nieuweNaam] <Object>]
DESCRIPTION
The `Set-Equipment` function updates the properties of an equipment mailbox in Active Directory and Exchange. It allows modifying the name, location, and other attributes of the equipment. The function supports interactive prompts for user input and integrates with Exchange and Active Directory.
EXAMPLES
EXAMPLE 1
Set-Equipment -naam "Projector1" -locatie "Room A" -infratype "C" -infranr "12345" -nieuweNaam "Projector2"
Updates the equipment mailbox `Projector1` with the new name `Projector2`, location `Room A`, and infrastructure details.
EXAMPLE 2
Updates the location of the equipment mailbox `Whiteboard1` to `Room B`.
PARAMETERS
-naam
The current name of the equipment to be updated.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-locatie
The new location of the equipment.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-infratype
The infrastructure type of the equipment (e.g., C, R, T).
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-infranr
The infrastructure number associated with the equipment.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-nieuweNaam
The new name for the equipment.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False