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 a list of Containers and details of an individual Container created under a SharePoint Embedded application. This command is available only in SharePoint Online Management Shell version 16.0.24211.12000 or higher to run this cmdlet.
62
+
The `Get-SPOContainer` cmdlet retrieves and returns the details of an individual container when paired `Identity` parameter, where the container ID needs to be mentioned. The cmdlet returns the list of containers belonging to a SharePoint Embedded application when paired with the `OwningApplicationId` parameter.
63
+
64
+
You must be a SharePoint Embedded Administrator to run the cmdlet.
65
+
66
+
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).
52
67
53
-
You must be a SharePoint Online Administrator to run this cmdlet.
54
68
55
69
> [!NOTE]
56
70
> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet.
@@ -62,47 +76,58 @@ You must be a SharePoint Online Administrator to run this cmdlet.
62
76
### Example 1
63
77
64
78
```powershell
65
-
Get-SPOContainer -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 | FT
Example 1 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45-jikl-9bnm-b302-1234ghy56789`.
69
-
70
-
To retrieve Containers for the Microsoft Loop app, use OwningApplicationId: `a187e399-0c36-4b98-8f04-1edc167a0996`.
71
-
72
-
To retrieve Containers for the Microsoft Designer app, use OwningApplicationId: `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
82
+
Example 1 returns the detailed properties of the Container with associated Container ID b66f5b2e-4cbd-4754-9ad3-8291c2c81ade
Get-SPOContainer -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 | FT
78
88
```
79
-
80
-
Example 2 returns the detailed properties of the Container with associated `ContainerId`.
89
+
Example 2 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45-jikl-9bnm-b302-1234ghy56789`.
This parameter can be used when there are more than 200 Containers in a given SharePoint repository services application. Using `-Paged` will provide a `<Paging Token>` that will display the next 200 Containers.
170
+
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 5. If there are no more Containers to display, the commandlet 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.
188
+
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 commandlet 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.
164
189
165
190
```yaml
166
191
Type: String
@@ -174,12 +199,20 @@ Default value: None
174
199
Accept pipeline input: False
175
200
Accept wildcard characters: False
176
201
```
202
+
### -SortByStorage
177
203
178
-
### CommonParameters
204
+
This parameter can be used when you need to see the list of containers, sorted by storage.
179
205
180
-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
0 commit comments