Remove-Place
Use the Remove-Place cmdlet to delete buildings, floors or sections from your Places directory.
Syntax
Remove-Place
[-Identity]
Description
You cannot remove a place that is a parent of other places. Before removing a place, clear the ParentId value of its existing child places before attempting to remove. As an example, clear the ParentId value on all rooms associated with a given floor before deleting that floor.
Please check management prerequisites if you plan to run this or any other Places commands.
Note
You cannot use Remove-Place to remove rooms and desk pools (workspaces). They must be removed by using Exchange Remove-Mailbox.
Important
For a bookable desk (which has an associated mailbox) to be totally removed, you should also run Remove-Mailbox to delete the associated mailbox.
Examples
Example 1
Delete a floor based on its PlaceId.
Remove-Place -Identity 86897e93-bcef-4c05-af9d-45116dda791f
Parameters
-Identity
The identity parameter specifies the place that you want to view. You can use any value that uniquely identifies a place - either PlaceId or Name_PlaceId.
Attribute | Description |
---|---|
Type: | RecipientIdParameter |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |