Skip to content

Commit a1ac889

Browse files
committed
Merge branch 'main' into gary-update-owners
2 parents 1505456 + 7aa1231 commit a1ac889

File tree

882 files changed

+4276
-6494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

882 files changed

+4276
-6494
lines changed

.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.

sharepoint/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{"files": ["**/*.md"], "src": "sharepoint-ps/sharepoint-online", "version": "sharepoint-ps", "dest": "module/sharepoint-online"},
1111
{"files": ["**/*.md"], "src": "virtual-folder", "version": "sharepoint-ps", "dest": "module" },
1212

13-
{"files": ["**/toc.yml"], "src": "sharepoint-server-ps", "version": "sharepoint-server-ps", "exclude": ["docs-conceptual"], "dest": "module/sharepoint-ps"},
13+
{"files": ["**/toc.yml"], "src": "sharepoint-server-ps", "version": "sharepoint-server-ps", "exclude": ["docs-conceptual"], "dest": "module/sharepoint-server-ps"},
1414
{"files": ["**/*.yml"], "src": "sharepoint-server-ps", "version": "sharepoint-server-ps", "exclude": ["docs-conceptual"], "dest": "module"},
1515
{"files": ["**/*.md"], "src": "sharepoint-server-ps/sharepoint-server", "version": "sharepoint-server-ps", "dest": "module/sharepoint-server"},
1616
{"files": ["**/*.md"], "src": "virtual-folder", "version": "sharepoint-server-ps", "dest": "module" }

sharepoint/mapping/monikerMapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sharepoint-server-ps": {
99
"conceptualToc": "docs-conceptual/toc.yml",
1010
"conceptualTocUrl": "/powershell/sharepoint/toc.json",
11-
"referenceTocUrl": "/powershell/module/sharepoint-ps/toc.json",
11+
"referenceTocUrl": "/powershell/module/sharepoint-server-ps/toc.json",
1212
"packageRoot": "sharepoint-server-ps"
1313
}
1414
}
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
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-spocontaineruser
5+
applicable: SharePoint Online
6+
title: Add-SPOContainerUser
7+
schema: 2.0.0
8+
author: ShreyasSar26
9+
ms.author: shsaravanan
10+
ms.reviewer:
11+
---
12+
13+
# Add-SPOContainerUser
14+
15+
## SYNOPSIS
16+
17+
Adds a user to a SharePoint Embedded container with a specified role.
18+
19+
## SYNTAX
20+
21+
```
22+
Add-SPOContainerUser [-ContainerId] <String> -LoginName <String> -Role <String> [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
27+
Assigns a user to a defined role within a SharePoint Embedded container.
28+
29+
You must be a SharePoint Embedded Administrator to run this cmdlet.
30+
31+
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).
32+
33+
> [!NOTE]
34+
> A user can be assigned to only one role within a container at a time.
35+
> **Owner** and **principal owner** are distinct. A container can have multiple owners, but only one principal owner at any time.
36+
> Principal ownership of a container can't be added—it can only be transferred.
37+
38+
39+
## EXAMPLES
40+
41+
### Example 1
42+
43+
```powershell
44+
Add-SPOContainerUser 423poi45 -LoginName [email protected] Owner
45+
```
46+
47+
Example 1 assigns the role of owner to user with User Principal Name "[email protected]".
48+
49+
## PARAMETERS
50+
51+
### -ContainerId
52+
53+
> Applicable: SharePoint Online
54+
55+
The unique identifier of the container to which the user is being added.
56+
57+
```yaml
58+
Type: String
59+
Parameter Sets: (All)
60+
Aliases:
61+
62+
Required: True
63+
Position: 0
64+
Default value: None
65+
Accept pipeline input: False
66+
Accept wildcard characters: False
67+
```
68+
69+
### -LoginName
70+
71+
> Applicable: SharePoint Online
72+
73+
The user’s login name to assign to the container. This is the User Principal Name.
74+
75+
```yaml
76+
Type: String
77+
Parameter Sets: (All)
78+
Aliases:
79+
80+
Required: True
81+
Position: Named
82+
Default value: None
83+
Accept pipeline input: False
84+
Accept wildcard characters: False
85+
```
86+
87+
### -Role
88+
89+
> Applicable: SharePoint Online
90+
91+
The role to assign to the user within the container. Valid roles are:
92+
93+
Owner: Has full control over the container and its contents.
94+
Manager: Can add, update, and delete content, and manage permissions, but can't delete the container.
95+
Writer: Can add, update, and delete content in the container.
96+
Reader: Can only view content in the container.
97+
98+
99+
```yaml
100+
Type: String
101+
Parameter Sets: (All)
102+
Aliases:
103+
Accepted values: Owner, Reader, Writer, Manager
104+
105+
Required: True
106+
Position: Named
107+
Default value: None
108+
Accept pipeline input: False
109+
Accept wildcard characters: False
110+
```
111+
112+
### CommonParameters
113+
114+
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).
115+
116+
## INPUTS
117+
118+
### None
119+
120+
## OUTPUTS
121+
122+
### System.Object
123+
124+
## NOTES
125+
126+
## RELATED LINKS
127+
128+
[Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell)
129+
130+
[Set-SPOContainerUser](./Set-SPOContainerUser.md)
131+
132+
[Remove-SPOContainerUser](./Remove-SPOContainerUser.md)
133+
134+
[Set-SPOContainer](./Set-SPOContainer.md)
135+
136+
[Get-SPOContainer](./Get-SPOContainer.md)
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)

0 commit comments

Comments
 (0)