Skip to content

New command: spe container recyclebinitem remove #6734

@milanholemans

Description

@milanholemans

Usage

m365 spe container recyclebinitem remove [options]

Description

Permanently removes a container from the recycle bin

Options

Option Description
-i, --id [id] Container id. Specify either id or name but not both.
-n, --name [name] Display name of the Container. Specify either id or name but not both.
--containerTypeId [containerTypeId] The container type ID of the container instance. Use either containerTypeId or containerTypeName but not both.
--containerTypeName [containerTypeName] The container type name of the container instance. Use either containerTypeId or containerTypeName but not both.
-f, --force Don't prompt for confirmation.

Examples

Remove a deleted container by ID.

m365 spe container recyclebinitem remove --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"

Remove a deleted container by using its name and container type ID.

m365 spe container recyclebinitem remove --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73" --name "Invoices"

Remove a deleted container by using its name and container type name.

m365 spe container recyclebinitem remove --containerTypeName "My container type name" --name "Invoices"

Default properties

No response

Additional Info

API: https://learn.microsoft.com/en-us/graph/api/filestorage-delete-deletedcontainers?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions