Skip to content

Commit 059913d

Browse files
Merge pull request #1051 from ShreyasSar26/patch-1
Update examples on all SPE cmdlets
2 parents 49db00f + f4aeff5 commit 059913d

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ For permissions and the most current information about Windows PowerShell for Sh
3838
### Example 1
3939

4040
```powershell
41-
Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US"
41+
Add-SPOContainerTypeBilling - ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US"
4242
```
4343

44-
Example 1 attaches the billing profile of Azure subscription ID "5a8a4d9f", resource group "RG100" and region "(US) East US" to the container type ID "aa1d89b3".
44+
Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "1ea46f96-515c-49b5-bac5-002c33a5fa0e".
4545

4646
## PARAMETERS
4747

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4141
### Example 1
4242

4343
```powershell
44-
Add-SPOContainerUser 423poi45 -LoginName [email protected] -Role Owner
44+
Add-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName [email protected] -Role Owner
4545
```
4646

4747
Example 1 assigns the role of owner to user with User Principal Name "[email protected]".

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,61 +85,61 @@ Example 1 returns the details of all the containers in the tenant.
8585
### Example 2
8686

8787
```powershell
88-
Get-SPOContainer -Identity b66f5b2e
88+
Get-SPOContainer -Identity b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U
8989
```
9090

91-
Example 2 returns the detailed properties of the Container with associated Container ID b66f5b2e.
91+
Example 2 returns the detailed properties of the Container with associated Container ID b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U.
9292

9393
### Example 3
9494

9595
```powershell
96-
Get-SPOContainer -OwningApplicationId 423poi45 | ft
96+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | ft
9797
```
98-
Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45`.
98+
Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `2ce03211-353e-45d7-b487-8ac6981332cf`.
9999

100100
### Example 4
101101

102102
```powershell
103-
Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft
103+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged | ft
104104
```
105105
Example 4 uses the `-Paged` command to retrieve a paging token.
106106

107107
### Example 5
108108

109109
```powershell
110-
Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken <zacad> | ft
110+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged -PagingToken <zacad> | ft
111111
```
112112

113113
Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3.
114114

115115
### Example 6
116116

117117
```powershell
118-
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending
118+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending
119119
```
120120

121121
Example 6 displays the containers belonging to the application, sorted in ascending order of storage.
122122

123123
### Example 7
124124

125125
```powershell
126-
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged
126+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged
127127
```
128128

129129
Example 7 displays a paged view of the containers belonging to the application, sorted in ascending order of storage.
130130

131131
### Example 8
132132

133133
```powershell
134-
Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken <zacad>
134+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged -PagingToken <zacad>
135135
```
136136

137137
Example 8 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage.
138138

139139
### Example 9
140140

141141
```powershell
142-
Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft
142+
Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ArchiveStatus RecentlyArchived | ft
143143
```
144144

145145
Example 9 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ Example 1 retrieves all the container types present in the tenant and displays c
5252
### Example 2
5353

5454
```powershell
55-
Get-SPOContainerType -ContainerTypeId 4f0af585
55+
Get-SPOContainerType -ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e
5656
```
5757

58-
Example 2 returns the detailed properties of container type 4f0af585.
58+
Example 2 returns the detailed properties of container type 1ea46f96-515c-49b5-bac5-002c33a5fa0e.
5959

6060
## PARAMETERS
6161

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,31 @@ You must be a SharePoint Embedded Administrator to run this cmdlet.
3535
### Example 1
3636

3737
```powershell
38-
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
38+
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf
3939
```
4040

4141
In Example 1, the cmdlet creates a new regular billed container type ContosoLegal.
4242

4343
### Example 2
4444

4545
```powershell
46-
New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
46+
New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332ed
4747
```
4848

4949
In Example 2, the cmdlet creates a direct to customer billed container type ContosoLegal.
5050

5151
### Example 3
5252

5353
```powershell
54-
New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
54+
New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332fl
5555
```
5656

5757
In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for 30 days.
5858

5959
### Example 4
6060

6161
```powershell
62-
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af -GovernableByAdmin $false
62+
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -GovernableByAdmin $false
6363
```
6464

6565
In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms.

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ For permissions and the most current information about Windows PowerShell for Sh
3939
### Example 1
4040

4141
```powershell
42-
Remove-SPOContainerUser 423poi45 -LoginName [email protected] -Role Owner
42+
Remove-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName [email protected] -Role Owner
4343
```
4444

45-
Example 1 removes the user with User Principal Name "[email protected]" from the role of an owner of container whose ContainerId is 423poi45 .
45+
Example 1 removes the user with User Principal Name "[email protected]" from the role of an owner of container whose ContainerId is b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U .
4646

4747
## PARAMETERS
4848

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Example 5 overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList` wi
7878
### Example 6
7979

8080
```powershell
81-
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com"
81+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com"
8282
```
83-
This example sets the host URLs for the container type with Id 4f0af585.
83+
This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4.
8484

8585
## PARAMETERS
8686

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4040
### Example 1
4141

4242
```powershell
43-
Set-SPOContainerUser 423poi45 -LoginName [email protected] -Role Manager
43+
Set-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName [email protected] -Role Manager
4444
```
4545

4646
Example 1 reassigns the role of User Principal Name "[email protected]" to manager.

0 commit comments

Comments
 (0)