external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Retrieve Site Scripts that have been registered on the current tenant.
Get-PnPSiteScript [-Identity <TenantSiteScriptPipeBind>]
[-SiteDesign <TenantSiteDesignPipeBind>]
[-Connection <SPOnlineConnection>]
PS:> Get-PnPSiteScript
Returns all registered site scripts
PS:> Get-PnPSiteScript -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd
Returns a specific registered site script
If specified will retrieve the specified site script
Type: TenantSiteScriptPipeBind
Parameter Sets: (All)
Required: False
Position: 0
Accept pipeline input: True
If specified will retrieve the site scripts for this design
Type: TenantSiteDesignPipeBind
Parameter Sets: (All)
Required: False
Position: 0
Accept pipeline input: True
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False