Skip to content

Commit

Permalink
Update Update-PnPSiteDesignFromWeb.md (#3791)
Browse files Browse the repository at this point in the history
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
  • Loading branch information
PowershellScripts and gautamdsheth authored Feb 28, 2024
1 parent ff26dd3 commit 489e8c9
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions documentation/Update-PnPSiteDesignFromWeb.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ title: Update-PnPSiteDesignFromWeb

* SharePoint: Access to the SharePoint Tenant Administration site

Updates an existing Site Design on the current tenant based on the site provided through -Url or the currently connected to site if -Url is omitted
Updates an existing Site Design on the current tenant based on the site provided through -Url or the currently connected to site if -Url is omitted.

## SYNTAX

Expand Down Expand Up @@ -56,7 +56,7 @@ Generates a site script based on all the components of the currently connected t
Update-PnPSiteDesignFromWeb -Url https://contoso.sharepoint.com/sites/template -Identity "Contoso Project" -Lists "/lists/Issue list"
```

Generates a site script based on the list "Issue list" in the site provided through Url and based on the generated script it will update the site script in the site design with the provided name.
Generates a site script based on the list "Issue list" in the site provided through Url. Based on the generated script it will update the site script in the site design with the provided name.

## PARAMETERS

Expand All @@ -74,21 +74,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -IncludeAll
If specified will include all supported components into the Site Script except for the lists and document libraries, these need to be explicitly be specified through -Lists
Expand Down Expand Up @@ -187,6 +172,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -Url
Specifies the URL of the site to generate a Site Script from. If omitted, the currently connected to site will be used.
```yaml
Type: String
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
## RELATED LINKS
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

0 comments on commit 489e8c9

Please sign in to comment.