Skip to content

Set-MeetingRoom

SYNOPSIS

Update the properties of an existing meeting room.

SYNTAX

Set-MeetingRoom [-naam] <Object> [[-locatie] <Object>] [[-capaciteit] <Object>] [-TaskNumber] <Int32>
 [[-adres] <Object>] [[-postcode] <Object>] [[-stad] <Object>] [[-nieuweNaam] <Object>] [-addProjector]
 [-removeProjector] [-addWhiteboard] [-removeWhiteboard] [-addWifi] [-removeWifi] [-addEthernet]
 [-removeEthernet] [-addAutomaten] [-removeAutomaten] [-addKoffie] [-removeKoffie] [-addToegankelijkheid]
 [-removeToegankelijkheid] [<CommonParameters>]

DESCRIPTION

The `Set-MeetingRoom` function updates the properties of an existing meeting room. It allows modifying attributes such as name, location, capacity, address, and additional facilities (e.g., projector, whiteboard, WiFi). The function supports both interactive and parameter-based updates and logs changes with a task number.

EXAMPLES

EXAMPLE 1

Set-MeetingRoom -naam "Conference Room A" -adres "Main Street 123" -capaciteit 50 -addProjector

Updates the meeting room "Conference Room A" with a new address "Main Street 123", sets the capacity to 50, and adds a projector.

EXAMPLE 2

Set-MeetingRoom -naam "Room B" -nieuweNaam "Room C" -TaskNumber 12345

Renames the meeting room "Room B" to "Room C" and logs the action with task number 12345.

PARAMETERS

-naam

The name of the meeting room to be updated. This parameter is used to locate the room. Use the `nieuweNaam` parameter to set a new name.

Type: Object
Parameter Sets: (All)
Aliases: Identity, DistinguishedName, mail, UserPrincipalname

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

-locatie

Updates the location of the meeting room.

Type: Object
Parameter Sets: (All)
Aliases:

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

-capaciteit

Updates the capacity of the meeting room.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-TaskNumber

The task number associated with the update, used for logging purposes.

Type: Int32
Parameter Sets: (All)
Aliases: InfraNr

Required: True
Position: 4
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-adres

Updates the street and house number of the meeting room.

Type: Object
Parameter Sets: (All)
Aliases:

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

-postcode

Updates the postal code of the meeting room.

Type: Object
Parameter Sets: (All)
Aliases:

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

-stad

Updates the city where the meeting room is located.

Type: Object
Parameter Sets: (All)
Aliases:

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

-nieuweNaam

Sets a new name for the meeting room.

Type: Object
Parameter Sets: (All)
Aliases:

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

-addProjector

Adds the "Projector" facility to the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeProjector

Removes the "Projector" facility from the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addWhiteboard

Adds the "Whiteboard" facility to the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeWhiteboard

Removes the "Whiteboard" facility from the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addWifi

Adds the "WiFi" facility to the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeWifi

Removes the "WiFi" facility from the meeting room.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addEthernet

{{ Fill addEthernet Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeEthernet

{{ Fill removeEthernet Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addAutomaten

{{ Fill addAutomaten Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeAutomaten

{{ Fill removeAutomaten Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addKoffie

{{ Fill addKoffie Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeKoffie

{{ Fill removeKoffie Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-addToegankelijkheid

{{ Fill addToegankelijkheid Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-removeToegankelijkheid

{{ Fill removeToegankelijkheid Description }}

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.

INPUTS

OUTPUTS

NOTES