Skip to content

Commit 16098a6

Browse files
authored
Update Get-SPOContainer.md
1 parent 9b3464c commit 16098a6

File tree

1 file changed

+43
-19
lines changed

1 file changed

+43
-19
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,36 @@ Returns one or more containers in a SharePoint Embedded application.
1818

1919
## SYNTAX
2020

21+
### All (Default)
22+
```
23+
Get-SPOContainer [-Identity <SPOContainerPipeBind>] [-Paged] [[-PagingToken] <String>]
24+
[[-SortByStorage] <SortOrder>] [[-ArchiveStatus] <SPContainerArchiveStatusFilterProperties>]
25+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
26+
```
27+
2128
### OwningApplicationId
2229
```
23-
Get-SPOContainer [-OwningApplicationId] <Guid> [-Paged] [[-PagingToken] <String>] [<CommonParameters>]
30+
Get-SPOContainer [-OwningApplicationId] <Guid> [-Paged] [[-PagingToken] <String>]
31+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2432
```
2533

34+
2635
### Sort
2736
```
2837
Get-SPOContainer [-OwningApplicationId] <Guid> [-Paged] [[-PagingToken] <String>] [-SortByStorage] <SortOrder>
29-
[<CommonParameters>]
38+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
3039
```
3140

3241
### Archive
3342
```
3443
Get-SPOContainer [-OwningApplicationId] <Guid> [-Paged] [[-PagingToken] <String>]
3544
[[-SortByStorage] <SortOrder>] [-ArchiveStatus] <SPContainerArchiveStatusFilterProperties>
36-
[<CommonParameters>]
45+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
3746
```
3847

3948
### Identity
4049
```
41-
Get-SPOContainer -Identity <SPOContainerPipeBind> [<CommonParameters>]
50+
Get-SPOContainer -Identity <SPOContainerPipeBind> [-ProgressAction <ActionPreference>] [<CommonParameters>]
4251
```
4352

4453
## DESCRIPTION
@@ -53,70 +62,80 @@ For permissions and the most current information about Windows PowerShell for Sh
5362
> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet.
5463
> The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`.
5564
> The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
65+
> The OwningApplicationId for Microsoft Teams Events VOD is `f574b137-eb91-46a0-8811-1a04d80c7ffa`.
66+
> The OwningApplicationId for Microsoft Outlook Newsletters is `a6804318-a92d-4f36-b499-441033991274`.
67+
> The OwningApplicationId for Microsoft Declarative Agent is `3FBEE041-E7D6-4F14-8826-6BF27F0A2849`.
5668
5769
## EXAMPLES
5870

5971
### Example 1
6072

73+
```powershell
74+
Get-SPOContainer
75+
```
76+
Example 1 returns the details of all the containers in the tenant
77+
78+
### Example 2
79+
6180
```powershell
6281
Get-SPOContainer -Identity b66f5b2e
6382
```
6483

65-
Example 1 returns the detailed properties of the Container with associated Container ID b66f5b2e.
84+
Example 2 returns the detailed properties of the Container with associated Container ID b66f5b2e.
6685

67-
### Example 2
86+
### Example 3
6887

6988
```powershell
7089
Get-SPOContainer -OwningApplicationId 423poi45 | ft
7190
```
72-
Example 2 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45`.
91+
Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45`.
7392

74-
### Example 3
93+
### Example 4
7594

7695
```powershell
7796
Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft
7897
```
79-
Example 3 uses the `-Paged` command to retrieve a paging token.
98+
Example 4 uses the `-Paged` command to retrieve a paging token.
8099

81-
### Example 4
100+
### Example 5
82101

83102
```powershell
84103
Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken <zacad> | ft
85104
```
86105

87-
Example 4 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3.
106+
Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3.
88107

89-
### Example 5
108+
### Example 6
90109

91110
```powershell
92111
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending
93112
```
94113

95-
Example 5 displays the containers belonging to the application, sorted in ascending order of storage.
114+
Example 6 displays the containers belonging to the application, sorted in ascending order of storage.
96115

97-
### Example 6
116+
### Example 7
98117

99118
```powershell
100119
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged
101120
```
102121

103-
Example 6 displays a paged view of the the containers belonging to the application, sorted in ascending order of storage.
122+
Example 7 displays a paged view of the the containers belonging to the application, sorted in ascending order of storage.
104123

105-
### Example 7
124+
### Example 8
106125

107126
```powershell
108127
Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken <zacad>
109128
```
110129

111-
Example 7 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage.
130+
Example 8 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage.
112131

113-
### Example 8
132+
### Example 9
114133

115134
```powershell
116135
Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft
117136
```
118137

119-
Example 8 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45.
138+
Example 9 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45.
120139

121140
## PARAMETERS
122141

@@ -219,6 +238,8 @@ Accept wildcard characters: False
219238

220239
### -SortByStorage
221240

241+
> Applicable: SharePoint Online
242+
222243
This parameter can be used when you need to see the list of containers, sorted by storage.
223244

224245
```yaml
@@ -235,6 +256,9 @@ Accept wildcard characters: False
235256
```
236257

237258
### CommonParameters
259+
260+
> Applicable: SharePoint Online
261+
238262
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
239263

240264
## INPUTS

0 commit comments

Comments
 (0)