You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Get-SPOContainer` cmdlet retrieves and returns the details of an individual containerwhen paired with `Identity` parameter, where the container ID needs to be mentioned. The cmdlet returns the list of containers belonging to a SharePoint Embedded applicationwhen paired with the `OwningApplicationId` parameter.
94
+
The `Get-SPOContainer` cmdlet retrieves details of an individual container, either in the active or archived state, when paired with the `Identity` parameter, which requires specifying the container ID. When used with the `OwningApplicationId` parameter, the cmdlet returns a list of active containers associated with a SharePoint Embedded application. Additionally, when also used with the `ArchiveStatus` parameter, it returns a list of containers in the archived state as specified.
63
95
64
96
You must be a SharePoint Embedded Administrator to run this cmdlet.
65
97
98
+
66
99
For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at [Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
Example 7 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage.
130
163
164
+
### Example 8
165
+
166
+
```powershell
167
+
Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft
168
+
```
169
+
170
+
Example 8 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45.
171
+
131
172
132
173
## PARAMETERS
133
174
@@ -214,6 +255,34 @@ Default value: None
214
255
Accept pipeline input: False
215
256
Accept wildcard characters: False
216
257
```
258
+
259
+
### -ArchiveStatus
260
+
261
+
The ArchiveStatus parameter is used to display containers in various stages of archiving. The following states are supported:
262
+
263
+
• Archived – Displays containers in all archived states.
264
+
265
+
• RecentlyArchived – Displays containers in the "Recently archived" state.
266
+
267
+
• FullyArchived – Displays containers in the "Fully archived" state.
268
+
269
+
• Reactivating – Displays containers in the "Reactivating" state.
270
+
271
+
• NotArchived – Displays active containers
272
+
273
+
274
+
```yaml
275
+
Type: String
276
+
Applicable: SharePoint Online
277
+
278
+
Required: False
279
+
Position: Named
280
+
Default value: None
281
+
Accept pipeline input: False
282
+
Accept wildcard characters: False
283
+
```
284
+
285
+
217
286
## RELATED LINKS
218
287
219
288
[Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell)
0 commit comments