You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,7 @@ Cmdlet|Description|Platform
113
113
**[Get‑PnPConnection](../../sharepoint-ps/sharepoint-pnp/Get-PnPConnection.md)** |Returns the current context|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
114
114
**[Get‑PnPContext](../../sharepoint-ps/sharepoint-pnp/Get-PnPContext.md)** |Returns the current context|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
115
115
**[Set‑PnPContext](../../sharepoint-ps/sharepoint-pnp/Set-PnPContext.md)** |Set the ClientContext|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
116
+
**[Get‑PnPException](../../sharepoint-ps/sharepoint-pnp/Get-PnPException.md)** |Returns the last exception that occured|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
116
117
**[Get‑PnPHealthScore](../../sharepoint-ps/sharepoint-pnp/Get-PnPHealthScore.md)** |Retrieves the healthscore|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
117
118
**[Connect‑PnPOnline](../../sharepoint-ps/sharepoint-pnp/Connect-PnPOnline.md)** |Connect to a SharePoint site|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
118
119
**[Disconnect‑PnPOnline](../../sharepoint-ps/sharepoint-pnp/Disconnect-PnPOnline.md)** |Disconnects the context|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
@@ -249,6 +250,8 @@ Cmdlet|Description|Platform
249
250
## Information Management
250
251
Cmdlet|Description|Platform
251
252
:-----|:----------|:-------
253
+
**[Get‑PnPLabel](../../sharepoint-ps/sharepoint-pnp/Get-PnPLabel.md)** |Gets the label/tag of the specfied list or library (if applicable)|SharePoint Online
254
+
**[Set‑PnPLabel](../../sharepoint-ps/sharepoint-pnp/Set-PnPLabel.md)** |Sets a label/tag on the specified list or library|SharePoint Online
252
255
**[Get‑PnPListInformationRightsManagement](../../sharepoint-ps/sharepoint-pnp/Get-PnPListInformationRightsManagement.md)** |Get the site closure status of the site which has a site policy applied|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
253
256
**[Set‑PnPListInformationRightsManagement](../../sharepoint-ps/sharepoint-pnp/Set-PnPListInformationRightsManagement.md)** |Get the site closure status of the site which has a site policy applied|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
254
257
**[Get‑PnPSiteClosure](../../sharepoint-ps/sharepoint-pnp/Get-PnPSiteClosure.md)** |Get the site closure status of the site which has a site policy applied|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
@@ -307,12 +310,28 @@ Cmdlet|Description|Platform
307
310
**[Add‑PnPFileToProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Add-PnPFileToProvisioningTemplate.md)** |Adds a file to a PnP Provisioning Template|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
308
311
**[Convert‑PnPFolderToProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Convert-PnPFolderToProvisioningTemplate.md)** |Creates a pnp package file of an existing template xml, and includes all files in the current folder|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
309
312
**[Add‑PnPListFoldersToProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Add-PnPListFoldersToProvisioningTemplate.md)** |Adds folders to a list in a PnP Provisioning Template|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
313
+
**[New‑PnPProvisioningCommunicationSite](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningCommunicationSite.md)** |Creates a communication site object|SharePoint Online
314
+
**[Apply‑PnPProvisioningHierarchy](../../sharepoint-ps/sharepoint-pnp/Apply-PnPProvisioningHierarchy.md)** |Adds a provisioning sequence object to a provisioning site object|SharePoint Online
315
+
**[New‑PnPProvisioningHierarchy](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningHierarchy.md)** |Creates a new provisioning hierarchy object|SharePoint Online
316
+
**[Read‑PnPProvisioningHierarchy](../../sharepoint-ps/sharepoint-pnp/Read-PnPProvisioningHierarchy.md)** |Loads/Reads a PnP provisioning hierarchy from the file system and returns an in-memory instance of this template.|SharePoint Online
317
+
**[Save‑PnPProvisioningHierarchy](../../sharepoint-ps/sharepoint-pnp/Save-PnPProvisioningHierarchy.md)** |Saves a PnP provisioning hierarchy to the file system|SharePoint Online
318
+
**[Test‑PnPProvisioningHierarchy](../../sharepoint-ps/sharepoint-pnp/Test-PnPProvisioningHierarchy.md)** |Tests a provisioning hierarchy for invalid references|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
319
+
**[Add‑PnPProvisioningSequence](../../sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningSequence.md)** |Adds a provisioning sequence object to a provisioning hierarchy|SharePoint Online
320
+
**[Get‑PnPProvisioningSequence](../../sharepoint-ps/sharepoint-pnp/Get-PnPProvisioningSequence.md)** |Returns one ore more provisioning sequence object(s) from a provisioning hierarchy|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
321
+
**[New‑PnPProvisioningSequence](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningSequence.md)** |Creates a new provisioning sequence object|SharePoint Online
322
+
**[Add‑PnPProvisioningSite](../../sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningSite.md)** |Adds a provisioning sequence object to a provisioning hierarchy|SharePoint Online
323
+
**[Get‑PnPProvisioningSite](../../sharepoint-ps/sharepoint-pnp/Get-PnPProvisioningSite.md)** |Returns one ore more provisioning sequence object(s) from a provisioning hierarchy|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
324
+
**[Add‑PnPProvisioningSubSite](../../sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningSubSite.md)** |Adds a provisioning sequence object to a provisioning site object|SharePoint Online
325
+
**[New‑PnPProvisioningTeamNoGroupSite](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningTeamNoGroupSite.md)** |Creates a team site without an Office 365 group object|SharePoint Online
326
+
**[New‑PnPProvisioningTeamNoGroupSubSite](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningTeamNoGroupSubSite.md)** |Creates a team site subsite with no Office 365 group object|SharePoint Online
327
+
**[New‑PnPProvisioningTeamSite](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningTeamSite.md)** |Creates a team site object|SharePoint Online
328
+
**[Add‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Add-PnPProvisioningTemplate.md)** |Adds a provisioning template object to a provisioning hierarchy|SharePoint Online
310
329
**[Apply‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Apply-PnPProvisioningTemplate.md)** |Applies a provisioning template to a web|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
311
330
**[Convert‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Convert-PnPProvisioningTemplate.md)** |Converts a provisioning template to an other schema version|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
312
331
**[Get‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Get-PnPProvisioningTemplate.md)** |Generates a provisioning template from a web|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
313
332
**[New‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningTemplate.md)** |Creates a new provisioning template object|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
314
333
**[Read‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Read-PnPProvisioningTemplate.md)** |Loads/Reads a PnP file from the file system|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
315
-
**[Save‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Save-PnPProvisioningTemplate.md)** |Saves a PnP file to the file systems|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
334
+
**[Save‑PnPProvisioningTemplate](../../sharepoint-ps/sharepoint-pnp/Save-PnPProvisioningTemplate.md)** |Saves a PnP provisioning tempalte to the file system|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
316
335
**[New‑PnPProvisioningTemplateFromFolder](../../sharepoint-ps/sharepoint-pnp/New-PnPProvisioningTemplateFromFolder.md)** |Generates a provisioning template from a given folder, including only files that are present in that folder|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
317
336
**[Set‑PnPProvisioningTemplateMetadata](../../sharepoint-ps/sharepoint-pnp/Set-PnPProvisioningTemplateMetadata.md)** |Sets metadata of a provisioning template|SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
This will add a file sample.docx to the Documents folder and will set the Modified date to 1/1/2016, Created date to 1/1/2017 and the Modified By field to the user with ID 23. To find out about the proper user ID to relate to a specific user, use Get-PnPUser.
Creates a new instance of a provisioning sequence object and sets the Id to the value specified, then the sequence is added to an existing hierarchy object
33
+
34
+
## PARAMETERS
35
+
36
+
### -Hierarchy
37
+
The hierarchy to add the sequence to
38
+
39
+
```yaml
40
+
Type: ProvisioningHierarchy
41
+
Parameter Sets: __AllParameterSets
42
+
43
+
Required: True
44
+
Position: Named
45
+
Accept pipeline input: False
46
+
```
47
+
48
+
### -Sequence
49
+
Optional Id of the sequence
50
+
51
+
```yaml
52
+
Type: ProvisioningSequence
53
+
Parameter Sets: __AllParameterSets
54
+
55
+
Required: True
56
+
Position: Named
57
+
Accept pipeline input: True
58
+
```
59
+
60
+
## RELATED LINKS
61
+
62
+
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)
0 commit comments