Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Update-PnPSiteDesignFromWeb.md #3791

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading