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.
45
+
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
46
64
47
You must be a SharePoint Embedded Administrator to run this cmdlet.
65
48
49
+
66
50
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
114
115
+
### Example 8
116
+
117
+
```powershell
118
+
Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft
119
+
```
120
+
121
+
Example 8 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45.
This parameter can be used when there are more than 200 Containers in a given SharePoint Embedded application. Using `-Paged` will provide a paging token that will display the next 200 Containers.
162
+
This parameter can be used when there are more than 200 containers in a given SharePoint Embedded application. Using `-Paged` will provide a paging token that will display the next 200 Containers.
Use this parameter to provide the paging token provided to view the remaining Containers as shown in Example 4. If there are no more Containers to display, the cmdlet output will return the message `End of containers view.` Otherwise, use the given paging token to retrieve the next batch of up to 200 Containers.
180
+
Use this parameter to provide the paging token to view the remaining containers as shown in Example 4. If there are no more containers to display, the cmdlet output will return the message `End of containers view.` Otherwise, use the given paging token to retrieve the next batch of up to 200 containers. For displaying the next set of archived containers, `-ArchiveStatus` paramter needs to be used along with this parameter.
189
181
190
182
```yaml
191
183
Type: String
@@ -214,6 +206,37 @@ Default value: None
214
206
Accept pipeline input: False
215
207
Accept wildcard characters: False
216
208
```
209
+
210
+
### -ArchiveStatus
211
+
212
+
The ArchiveStatus parameter is used to display containers in various stages of archiving. The following states are supported:
213
+
214
+
• Archived – Displays containers in all archived states.
215
+
216
+
• RecentlyArchived – Displays containers in the "Recently archived" state.
217
+
218
+
• FullyArchived – Displays containers in the "Fully archived" state.
219
+
220
+
• Reactivating – Displays containers in the "Reactivating" state.
221
+
222
+
• NotArchived – Displays active containers
223
+
224
+
225
+
```yaml
226
+
Type: String
227
+
Applicable: SharePoint Online
228
+
229
+
Required: False
230
+
Position: Named
231
+
Default value: None
232
+
Accept pipeline input: False
233
+
Accept wildcard characters: False
234
+
```
235
+
236
+
### CommonParameters
237
+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-ProgressAction`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
238
+
239
+
217
240
## RELATED LINKS
218
241
219
242
[Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell)
0 commit comments