Skip to content

Commit 320e64f

Browse files
gautamdshethGautam Sheth
andauthored
Update documentation for Invoke-PnPSiteTemplate and Remove-PnPTenantDeletedSite cmdlets: correct example syntax and parameter description (#5017)
Co-authored-by: Gautam Sheth <gautam.sheth@staffbase.com>
1 parent 9024021 commit 320e64f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

documentation/Invoke-PnPSiteTemplate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ This will create two new ExtensibilityHandler objects that are run while provisi
115115

116116
### EXAMPLE 9
117117
```powershell
118-
Invoke-PnPSiteTemplate -Path .\ -InputInstance $template
118+
Invoke-PnPSiteTemplate -InputInstance $template
119119
```
120120

121-
Applies a site template from an in-memory instance of a SiteTemplate type of the PnP Core Component, reading the supporting files, if any, from the current (.\) path. The syntax can be used together with any other supported parameters.
121+
Applies a site template from an in-memory instance of a SiteTemplate type of the PnP Core Component.
122122

123123
### EXAMPLE 10
124124
```powershell

documentation/Remove-PnPTenantDeletedSite.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Removes a site collection from the Tenant recycle bin.
2020
## SYNTAX
2121

2222
```powershell
23-
Remove-PnPTenantDeletedSite [-Url] <String> [-Force] [-NoWait] [-Connection <PnPConnection>] [-Verbose]
23+
Remove-PnPTenantDeletedSite [-Identity] <String> [-Force] [-NoWait] [-Connection <PnPConnection>] [-Verbose]
2424
```
2525

2626
## DESCRIPTION
@@ -50,6 +50,7 @@ Specifies the full URL of the site collection that needs to be deleted.
5050
```yaml
5151
Type: String
5252
Parameter Sets: (All)
53+
Aliases: Url
5354

5455
Required: True
5556
Position: 0

0 commit comments

Comments
 (0)