Skip to content

Commit b3d0bbf

Browse files
authored
Merge branch 'master' into patch-4
2 parents b617899 + 9b814ef commit b3d0bbf

Some content is hidden

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

49 files changed

+737
-1415
lines changed

sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md

Lines changed: 64 additions & 60 deletions
Large diffs are not rendered by default.

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOGeoAdministrator.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,19 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12-
Adds a new SharePoint user or security Group as Get-Administrator of the current Multi-Geo Tenant.
12+
Adds a new SharePoint user or security Group as GeoAdministrator of the current Multi-Geo Tenant.
1313

1414

1515
## SYNTAX
1616

1717
```powershell
1818
Add-SPOGeoAdministrator
19-
-Title <string>
20-
-WebTemplate <string>
21-
-SiteScripts <SPOSiteScriptPipeBind[]>
22-
[-Description <string>]
23-
[-PreviewImageUrl <string>]
24-
[-PreviewImageAltText <string>]
25-
[-IsDefault]
19+
-UserPrincipalName <string>
20+
-GroupAlias <string>
21+
-ObjectId <guid>
2622
[<CommonParameters>]
2723
```
2824

29-
### Group
30-
```
31-
Add-SPOGeoAdministrator [-Group] <String> [<CommonParameters>]
32-
```
33-
34-
### User
35-
```
36-
Add-SPOGeoAdministrator [-User] <String> [<CommonParameters>]
37-
```
38-
3925
## DESCRIPTION
4026
This Cmdlet requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online global Administrator to run this script and allows you to add a user or group in the SharePoint Tenant as GeoAdministrator
4127

@@ -44,14 +30,14 @@ This Cmdlet requires a connection to a multi-geo tenant to run correctly. You mu
4430

4531
### EXAMPLE 1
4632
```powershell
47-
Add-SPOGeoAdministrator -user contosoadmin
33+
Add-SPOGeoAdministrator -UserPrincipalName [email protected]
4834
```
49-
Add the user contosoadmin to the SharePoint Online multi-geo tenant
35+
Add a user as admin to the SharePoint Online multi-geo tenant
5036

5137

5238
## PARAMETERS
5339

54-
### -Group
40+
### -GroupAlias
5541
PARAMVALUE: String
5642

5743

@@ -68,7 +54,23 @@ Accept pipeline input: False
6854
Accept wildcard characters: False
6955
```
7056
71-
### -User
57+
### -ObjectId
58+
PARAMVALUE: Guid
59+
60+
61+
```yaml
62+
Type: Guid
63+
Parameter Sets: ObjectId
64+
Aliases:
65+
Applicable: SharePoint Online
66+
67+
Required: True
68+
Position: 0
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
### -UserPrincipalName
7274
PARAMVALUE: String
7375
7476

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOTheme.md

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ schema: 2.0.0
1111

1212
Creates a new custom theme, or overwrites an existing theme to modify its settings.
1313

14+
## SYNTAX
15+
16+
```
17+
Add-SPOTheme
18+
-Identity <SpoThemePipeBind>
19+
-IsInverted <bool>
20+
-Overwrite
21+
-Palette <SpoThemePalettePipeBind>
22+
[<CommonParameters>]
23+
```
24+
1425
## DESCRIPTION
1526

1627
The **Add-SPOTheme** cmdlet creates a new theme or updates an existing theme. The color palette settings can be passed as either a hash table or a dictionary.
@@ -52,7 +63,7 @@ $themepalette = @{
5263
"primaryText" = "#333"
5364
}
5465
55-
Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false
66+
Add-SPOTheme -Identity "Custom Cyan" -Palette $themepalette -IsInverted $false
5667
```
5768

5869
> [!NOTE]
@@ -63,7 +74,64 @@ Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false
6374
If you want to update an existing theme (to modify some of its color settings, for example), use the same syntax as shown previously, but add the `-Overwrite` flag to the **Add-SPOTheme** cmdlet.
6475

6576
```powershell
66-
Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false -Overwrite
77+
Add-SPOTheme -Identity "Custom Cyan" -Palette $themepalette -IsInverted $false -Overwrite
78+
```
79+
## PARAMETERS
80+
81+
### -Identity
82+
83+
```yaml
84+
Type: SpoThemePalettePipeBind
85+
Parameter Sets: (All)
86+
Aliases: Name
87+
Applicable: SharePoint Online
88+
Required: True
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### -IsInverted
96+
97+
```yaml
98+
Type: Boolean
99+
Parameter Sets: (All)
100+
Aliases: None
101+
Applicable: SharePoint Online
102+
Required: True
103+
Position: Named
104+
Default value: None
105+
Accept pipeline input: False
106+
Accept wildcard characters: False
107+
```
108+
109+
### -Overwrite
110+
111+
```yaml
112+
Type: SwitchParameter
113+
Parameter Sets: (All)
114+
Aliases: None
115+
Applicable: SharePoint Online
116+
Required: False
117+
Position: Named
118+
Default value: None
119+
Accept pipeline input: False
120+
Accept wildcard characters: False
121+
```
122+
123+
### -Palette
124+
125+
```yaml
126+
Type: SpoThemePalettePipeBind
127+
Parameter Sets: (All)
128+
Aliases: None
129+
Applicable: SharePoint Online
130+
Required: True
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
67135
```
68136
69137
## INPUTS

sharepoint/sharepoint-ps/sharepoint-online/sharepoint-online.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ The following cmdlet references are for SharePoint Online.
5858
### [Export-SPOUserInfo](Export-SPOUserInfo.md)
5959
{{Manually Enter Export-SPOUserInfo Description Here}}
6060

61-
### [Get-SPO365LinkSettings](Get-SPO365LinkSettings.md)
62-
{{Manually Enter Get-SPO365LinkSettings Description Here}}
63-
6461
### [Get-SPOAppErrors](Get-SPOAppErrors.md)
6562
{{Manually Enter Get-SPOAppErrors Description Here}}
6663

@@ -307,9 +304,6 @@ The following cmdlet references are for SharePoint Online.
307304
### [Revoke-SPOUserSession](Revoke-SPOUserSession.md)
308305
{{Manually Enter Revoke-SPOUserSession Description Here}}
309306

310-
### [Set-SPO365LinkSettings](Set-SPO365LinkSettings.md)
311-
{{Manually Enter Set-SPO365LinkSettings Description Here}}
312-
313307
### [Set-SPODataConnectionSetting](Set-SPODataConnectionSetting.md)
314308
{{Manually Enter Set-SPODataConnectionSetting Description Here}}
315309

@@ -386,4 +380,4 @@ The following cmdlet references are for SharePoint Online.
386380
{{Manually Enter Upgrade-SPOSite Description Here}}
387381

388382

389-
<!--updated March 6, 2018; moved cmdlets from https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell; added items from TOC that were missing on this page-->
383+
<!--updated March 6, 2018; moved cmdlets from https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell; added items from TOC that were missing on this page-->

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPDataRowsToProvisioningTemplate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Accept pipeline input: False
7777
```
7878
7979
### -Path
80-
Filename of the .PNP Open XML provisioning template to read from, optionally including full path.
80+
Filename of the .PNP Open XML site template to read from, optionally including full path.
8181
8282
```yaml
8383
Type: String

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPFileToProvisioningTemplate.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@ Add-PnPFileToProvisioningTemplate -Path <String>
2727
Add-PnPFileToProvisioningTemplate -Path template.pnp -Source $sourceFilePath -Folder $targetFolder
2828
```
2929

30-
Adds a file to a PnP Provisioning Template
30+
Adds a file to a PnP Site Template
3131

3232
### ------------------EXAMPLE 2------------------
3333
```powershell
3434
Add-PnPFileToProvisioningTemplate -Path template.xml -Source $sourceFilePath -Folder $targetFolder
3535
```
3636

37-
Adds a file reference to a PnP Provisioning XML Template
37+
Adds a file reference to a PnP Site XML Template
3838

3939
### ------------------EXAMPLE 3------------------
4040
```powershell
4141
Add-PnPFileToProvisioningTemplate -Path template.pnp -Source "./myfile.png" -Folder "folderinsite" -FileLevel Published -FileOverwrite:$false
4242
```
4343

44-
Adds a file to a PnP Provisioning Template, specifies the level as Published and defines to not overwrite the file if it exists in the site.
44+
Adds a file to a PnP Site Template, specifies the level as Published and defines to not overwrite the file if it exists in the site.
4545

4646
### ------------------EXAMPLE 4------------------
4747
```powershell
4848
Add-PnPFileToProvisioningTemplate -Path template.pnp -Source $sourceFilePath -Folder $targetFolder -Container $container
4949
```
5050

51-
Adds a file to a PnP Provisioning Template with a custom container for the file
51+
Adds a file to a PnP Site Template with a custom container for the file
5252

5353
## PARAMETERS
5454

@@ -101,7 +101,7 @@ Accept pipeline input: False
101101
```
102102
103103
### -Path
104-
Filename of the .PNP Open XML provisioning template to read from, optionally including full path.
104+
Filename of the .PNP Open XML site template to read from, optionally including full path.
105105
106106
```yaml
107107
Type: String

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPListFoldersToProvisioningTemplate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ Add-PnPListFoldersToProvisioningTemplate -Path <String>
2727
Add-PnPListFoldersToProvisioningTemplate -Path template.pnp -List 'PnPTestList'
2828
```
2929

30-
Adds top level folders from a list to an existing template and returns an in-memory PnP Provisioning Template
30+
Adds top level folders from a list to an existing template and returns an in-memory PnP Site Template
3131

3232
### ------------------EXAMPLE 2------------------
3333
```powershell
3434
Add-PnPListFoldersToProvisioningTemplate -Path template.pnp -List 'PnPTestList' -Recursive
3535
```
3636

37-
Adds all folders from a list to an existing template and returns an in-memory PnP Provisioning Template
37+
Adds all folders from a list to an existing template and returns an in-memory PnP Site Template
3838

3939
### ------------------EXAMPLE 3------------------
4040
```powershell
4141
Add-PnPListFoldersToProvisioningTemplate -Path template.pnp -List 'PnPTestList' -Recursive -IncludeSecurity
4242
```
4343

44-
Adds all folders from a list with unique permissions to an in-memory PnP Provisioning Template
44+
Adds all folders from a list with unique permissions to an in-memory PnP Site Template
4545

4646
## PARAMETERS
4747

@@ -70,7 +70,7 @@ Accept pipeline input: False
7070
```
7171
7272
### -Path
73-
Filename of the .PNP Open XML provisioning template to read from, optionally including full path.
73+
Filename of the .PNP Open XML site template to read from, optionally including full path.
7474
7575
```yaml
7676
Type: String

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningTemplate.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,50 @@ schema: 2.0.0
66
# Add-PnPProvisioningTemplate
77

88
## SYNOPSIS
9-
Adds a provisioning template object to a provisioning hierarchy
9+
Adds a PnP Provisioning Template object to a tenant template
1010

1111
## SYNTAX
1212

1313
```powershell
14-
Add-PnPProvisioningTemplate -Template <ProvisioningTemplate>
15-
-Hierarchy <ProvisioningHierarchy>
14+
Add-PnPProvisioningTemplate -SiteTemplate <ProvisioningTemplate>
15+
-TenantTemplate <ProvisioningHierarchy>
1616
```
1717

1818
## EXAMPLES
1919

2020
### ------------------EXAMPLE 1------------------
2121
```powershell
22-
Add-PnPProvisioningTemplate -Hierarchy $myhierarchy -Template $mytemplate
22+
Add-PnpProvisioningTemplate -TenantTemplate $tenanttemplate -SiteTemplate $sitetemplate
2323
```
2424

25-
Adds an existing sequence object to an existing hierarchy object
25+
Adds an existing site template to an existing tenant template object
2626

2727
## PARAMETERS
2828

29-
### -Hierarchy
30-
The hierarchy to add the template to
29+
### -SiteTemplate
30+
The template to add to the tenant template
3131

3232
```yaml
33-
Type: ProvisioningHierarchy
33+
Type: ProvisioningTemplate
3434
Parameter Sets: (All)
35+
Aliases: Template
3536

3637
Required: True
3738
Position: Named
38-
Accept pipeline input: True
39+
Accept pipeline input: False
3940
```
4041
41-
### -Template
42-
The template to add to the hierarchy
42+
### -TenantTemplate
43+
The tenant template to add the template to
4344
4445
```yaml
45-
Type: ProvisioningTemplate
46+
Type: ProvisioningHierarchy
4647
Parameter Sets: (All)
48+
Aliases: Hierarchy
4749

4850
Required: True
4951
Position: Named
50-
Accept pipeline input: False
52+
Accept pipeline input: True
5153
```
5254
5355
## RELATED LINKS

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPTaxonomyField.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Accept pipeline input: False
190190
```
191191
192192
### -TermSetPath
193-
The path to the term that this needs to be bound to
193+
The path to the term that this needs be be bound
194194
195195
```yaml
196196
Type: String
@@ -231,4 +231,4 @@ Accept pipeline input: False
231231
232232
## RELATED LINKS
233233
234-
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)
234+
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPTenantCdnOrigin.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ Add a new origin to the public or private CDN, on either Tenant level or on a si
2121

2222
You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.
2323

24-
Once you've completed the setup steps, you can add new assets, and update or remove existing assets whenever you want. Just make your changes to the assets in the folder or SharePoint library that you identified as an origin. If you add a new asset, it is available through the CDN immediately. However, if you update the asset, it will take up to 15 minutes for the new copy to propagate and become available in the CDN.
25-
2624
## EXAMPLES
2725

2826
### ------------------EXAMPLE 1------------------
@@ -73,5 +71,5 @@ Accept pipeline input: False
7371
```
7472
7573
## RELATED LINKS
76-
[Use the Office 365 content delivery network with SharePoint Online](https://docs.microsoft.com/en-us/office365/enterprise/use-office-365-cdn-with-spo)
77-
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)
74+
75+
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)

0 commit comments

Comments
 (0)