Skip to content

Latest commit

 

History

History
169 lines (128 loc) · 3.28 KB

Get-KshTenantSiteScriptFromSite.md

File metadata and controls

169 lines (128 loc) · 3.28 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Get-KshTenantSiteScriptFromSite

SYNOPSIS

Retrieves a site script from a site.

SYNTAX

Get-KshTenantSiteScriptFromSite [-SiteUrl] <String> [-IncludeBranding] [-IncludedLists <String[]>]
 [-IncludeLinksToExportedItems] [-IncludeRegionalSettings] [-IncludeSiteExternalSharingCapability]
 [-IncludeTheme] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Get-KshTenantSiteScriptFromSite cmdlet retrieves a site script from the specified site. This cmdlet can be used only when connected to the SharePoint admin center.

EXAMPLES

Example 1

PS C:\> Get-KshTenantSiteScriptFromSite -SiteUrl "https://example.sharepoint.com/sites/japan"

Retrieves a site script from a site.

PARAMETERS

-IncludeBranding

If specified, includes the branding information.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeLinksToExportedItems

If specified, includes the list of link to exported items.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeRegionalSettings

If specified, includes the regional settings.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeSiteExternalSharingCapability

If specified, includes the site external sharing capability.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeTheme

If specified, includes the theme.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludedLists

Specifies the list of lists to be included.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SiteUrl

If specified, includes the site URL.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.String

NOTES

RELATED LINKS