Skip to content

Commit 2b37c59

Browse files
authored
Merge branch 'main' into main
2 parents 2e90d8e + f9b66c4 commit 2b37c59

18 files changed

+2967
-5496
lines changed

.github/workflows/TierManagement.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ name: Tier management
22

33
permissions:
44
pull-requests: write
5-
contents: read
5+
contents: write
66

77
on:
88
issue_comment:
99
types: [created, edited]
1010

11+
pull_request_target:
12+
types: [opened, reopened]
13+
1114
jobs:
1215

1316
tier-mgmt:

.openpublishing.redirection.ms-ol-sp-ps.json

Lines changed: 309 additions & 274 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.ms-sp-ps.json

Lines changed: 858 additions & 1358 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.spserver.json

Lines changed: 327 additions & 3807 deletions
Large diffs are not rendered by default.
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
---
2+
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/add-spofontpackage
5+
applicable: SharePoint Online
6+
title: Add-SPOFontPackage
7+
schema: 2.0.0
8+
author: JQ1u
9+
ms.author: luchaoqiu
10+
ms.reviewer:
11+
---
12+
13+
# Add-SPOFontPackage
14+
15+
## SYNOPSIS
16+
17+
Creates a new custom font package with fonts in the brand fonts library.
18+
19+
## SYNTAX
20+
21+
```
22+
Add-SPOFontPackage -Title <String> -PackageJson <String> [-IsHidden <Boolean>] [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
27+
This cmdlet creates a new brand font package for the tenant. Each font package must have a unique name. The font file must be added to the SharePoint Brand Center before creating a font package. For more information, see [Brand Fonts](/sharepoint/brand-fonts).
28+
29+
## EXAMPLES
30+
31+
### EXAMPLE 1
32+
33+
```powershell
34+
$packageJson = @'
35+
{
36+
"fontFaces": [
37+
{
38+
"fontFamily": "Tahoma",
39+
"path": "Tahoma.ttf",
40+
"fontType": "contentFont"
41+
}
42+
],
43+
"fontSlots": {
44+
"title": {
45+
"fontFamily": "Tahoma",
46+
"fontFace": "Regular",
47+
"fontVariationSettings": {
48+
"wght": 100,
49+
"wdth": 100
50+
}
51+
},
52+
"heading": {
53+
"fontFamily": "Tahoma",
54+
"fontFace": "Regular",
55+
"fontVariationSettings": {
56+
"wght": 100,
57+
"wdth": 100
58+
}
59+
},
60+
"body": {
61+
"fontFamily": "Tahoma",
62+
"fontFace": "Regular",
63+
"fontVariationSettings": {
64+
"wght": 100,
65+
"wdth": 100
66+
}
67+
},
68+
"label": {
69+
"fontFamily": "Tahoma",
70+
"fontFace": "Regular",
71+
"fontVariationSettings": {
72+
"wght": 100,
73+
"wdth": 100
74+
}
75+
}
76+
}
77+
}
78+
'@
79+
80+
Add-SPOFontPackage -Title "Tahoma" -PackageJson $packageJson
81+
```
82+
83+
This example creates a new font package named "Tahoma" with specified JSON configuration.
84+
85+
### EXAMPLE 2
86+
87+
```powershell
88+
# With $packageJson from EXAMPLE 1
89+
Add-SPOFontPackage -Title "Contoso Font Package" -PackageJson $packageJson -IsHidden $true
90+
```
91+
92+
This example creates a hidden font package with specified JSON configuration.
93+
94+
## PARAMETERS
95+
96+
### -Title
97+
98+
> Applicable: SharePoint Online
99+
100+
Specifies the display name of the new font package.
101+
102+
```yaml
103+
Type: System.String
104+
Parameter Sets: (All)
105+
Aliases:
106+
107+
Required: True
108+
Position: Named
109+
Default value: None
110+
Accept pipeline input: False
111+
Accept wildcard characters: False
112+
```
113+
114+
### -PackageJson
115+
116+
> Applicable: SharePoint Online
117+
118+
Specifies the JSON configuration for the font package.
119+
120+
```yaml
121+
Type: System.String
122+
Parameter Sets: (All)
123+
Aliases:
124+
125+
Required: True
126+
Position: Named
127+
Default value: None
128+
Accept pipeline input: False
129+
Accept wildcard characters: False
130+
```
131+
132+
### -IsHidden
133+
134+
> Applicable: SharePoint Online
135+
136+
Specifies whether the font package should be hidden from users. When set to `$true`, the font package will not be visible in the **Change the look** options, but can still be applied using the `Set-SPOFontPackage` cmdlet.
137+
138+
```yaml
139+
Type: System.Boolean
140+
Parameter Sets: (All)
141+
Aliases:
142+
143+
Required: False
144+
Position: Named
145+
Default value: False
146+
Accept pipeline input: True (ByValue)
147+
Accept wildcard characters: False
148+
```
149+
150+
### CommonParameters
151+
152+
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).
153+
154+
## OUTPUTS
155+
156+
### System.Object
157+
158+
## NOTES
159+
160+
## RELATED LINKS
161+
162+
[Get-SPOFontPackage](Get-SPOFontPackage.md)
163+
164+
[Set-SPOFontPackage](Set-SPOFontPackage.md)
165+
166+
[Remove-SPOFontPackage](Remove-SPOFontPackage.md)

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

Lines changed: 55 additions & 24 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
@@ -50,73 +59,90 @@ You must be a SharePoint Embedded Administrator to run this cmdlet.
5059
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).
5160

5261
> [!NOTE]
53-
> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet.
54-
> The OwningApplicationId for Microsoft Loop is `a187e399-0c36-4b98-8f04-1edc167a0996`.
55-
> The OwningApplicationId for Microsoft Designer is `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
62+
> You can't retrieve containers in the Recycle Bin using this cmdlet.
63+
>
64+
> Use the following `OwningApplicationId` values to identify specific Microsoft applications:
65+
66+
67+
| Application | OwningApplicationId |
68+
|----------|----------|
69+
| **Microsoft Declarative Agent** | `3fbee041-e7d6-4f14-8826-6bf27f0a2849` |
70+
| **Microsoft Designer** | `5e2795e3-ce8c-4cfb-b302-35fe5cd01597` |
71+
| **Microsoft Loop** | `a187e399-0c36-4b98-8f04-1edc167a0996` |
72+
| **Microsoft Outlook Newsletters** | `a6804318-a92d-4f36-b499-441033991274`|
73+
| **Microsoft Teams Events Video on Demand** | `f574b137-eb91-46a0-8811-1a04d80c7ffa`|
74+
5675

5776
## EXAMPLES
5877

5978
### Example 1
6079

80+
```powershell
81+
Get-SPOContainer
82+
```
83+
Example 1 returns the details of all the containers in the tenant.
84+
85+
### Example 2
86+
6187
```powershell
6288
Get-SPOContainer -Identity b66f5b2e
6389
```
6490

65-
Example 1 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 b66f5b2e.
6692

67-
### Example 2
93+
### Example 3
6894

6995
```powershell
7096
Get-SPOContainer -OwningApplicationId 423poi45 | ft
7197
```
72-
Example 2 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 `423poi45`.
7399

74-
### Example 3
100+
### Example 4
75101

76102
```powershell
77103
Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft
78104
```
79-
Example 3 uses the `-Paged` command to retrieve a paging token.
105+
Example 4 uses the `-Paged` command to retrieve a paging token.
80106

81-
### Example 4
107+
### Example 5
82108

83109
```powershell
84110
Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken <zacad> | ft
85111
```
86112

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

89-
### Example 5
115+
### Example 6
90116

91117
```powershell
92118
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending
93119
```
94120

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

97-
### Example 6
123+
### Example 7
98124

99125
```powershell
100126
Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged
101127
```
102128

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

105-
### Example 7
131+
### Example 8
106132

107133
```powershell
108134
Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken <zacad>
109135
```
110136

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

113-
### Example 8
139+
### Example 9
114140

115141
```powershell
116142
Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft
117143
```
118144

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

121147
## PARAMETERS
122148

@@ -130,7 +156,7 @@ The ArchiveStatus parameter is used to display containers in various stages of a
130156
- RecentlyArchived – Displays containers in the "Recently archived" state.
131157
- FullyArchived – Displays containers in the "Fully archived" state.
132158
- Reactivating – Displays containers in the "Reactivating" state.
133-
- NotArchived – Displays active containers
159+
- NotArchived – Displays active containers.
134160

135161
```yaml
136162
Type: Microsoft.Online.SharePoint.TenantAdministration.SPContainerArchiveStatusFilterProperties
@@ -203,7 +229,7 @@ Accept wildcard characters: False
203229

204230
> Applicable: SharePoint Online
205231

206-
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.
232+
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` parameter needs to be used along with this parameter.
207233

208234
```yaml
209235
Type: System.String
@@ -219,6 +245,8 @@ Accept wildcard characters: False
219245

220246
### -SortByStorage
221247

248+
> Applicable: SharePoint Online
249+
222250
This parameter can be used when you need to see the list of containers, sorted by storage.
223251

224252
```yaml
@@ -235,6 +263,9 @@ Accept wildcard characters: False
235263
```
236264

237265
### CommonParameters
266+
267+
> Applicable: SharePoint Online
268+
238269
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).
239270

240271
## INPUTS

0 commit comments

Comments
 (0)