Remove-FabricWorkspaceCapacity
Unassigns a Fabric workspace from its capacity.
Syntax
Remove-FabricWorkspaceCapacity [-WorkspaceId] <guid> [-WhatIf] [-Confirm] [<CommonParameters>]Description
The Remove-FabricWorkspaceCapacity function sends a POST request to unassign a workspace from its assigned capacity.
Aliases: Unassign-FabricWorkspaceCapacity
Examples
Example 1
Unassign the workspace with ID "workspace123" from its capacity.
Remove-FabricWorkspaceCapacity -WorkspaceId "workspace123"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceIdalias: Id | guid | ✓Required | 0 | – | The unique identifier of the workspace to be unassigned from its capacity. |
| -Confirmalias: cf | switch | Named | – | Prompts you for confirmation before running the cmdlet. |
|
| -WhatIfalias: wi | switch | Named | – | Runs the command in a mode that only reports what would happen without performing the actions. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski