Skip to content

New command: m365 spe container recyclebinitem list #6156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Adam-it opened this issue Jul 19, 2024 · 1 comment
Closed

New command: m365 spe container recyclebinitem list #6156

Adam-it opened this issue Jul 19, 2024 · 1 comment
Assignees
Milestone

Comments

@Adam-it
Copy link
Member

Adam-it commented Jul 19, 2024

Usage

m365 spe container recyclebinitem list [options]

Description

Lists deleted containers of a specific Container Type

Options

Option Description
--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.

Examples

List deleted containers of a specific type

m365 spe container recyclebinitem list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"

List deleted containers of a specific type by name

m365 spe container recyclebinitem list --containerTypeName "Private Files"

Default properties

  • id
  • displayName
  • containerTypeId
  • createdDateTime

Additional Info

to get deleted items we may use

beta/storage/fileStorage/deletedContainers?$filter=containerTypeId eq {containerTypeId}
@Adam-it Adam-it added new feature needs peer review Needs second pair of eyes to review the spec or PR labels Jul 19, 2024
@milanholemans milanholemans added help wanted and removed needs peer review Needs second pair of eyes to review the spec or PR labels Jul 19, 2024
@Jwaegebaert
Copy link
Contributor

Nice! Maybe just one more example using containerTypeName, that way we have two examples 😄

@Adam-it Adam-it added the hacktoberfest Issue perfect for hacktoberfest label Sep 24, 2024
@Adam-it Adam-it removed the hacktoberfest Issue perfect for hacktoberfest label Nov 3, 2024
@milanholemans milanholemans self-assigned this Apr 16, 2025
milanholemans added a commit to milanholemans/cli-microsoft365 that referenced this issue Apr 18, 2025
milanholemans added a commit to milanholemans/cli-microsoft365 that referenced this issue Apr 18, 2025
@martinlingstuyl martinlingstuyl added this to the v10.8 milestone May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants