Remove-SPOSiteScript
Removes a site script.
Syntax
Default (Default)
Remove-SPOSiteScript
[-Identity] <SPOSiteScriptPipeBind>
[<CommonParameters>]
Examples
Example 1
This example shows how to remove a site design.
Remove-SPOSiteScript 5ea28194-6fe7-4e2c-ba84-c409368278e2
Parameters
-Identity
Applicable: SharePoint Online
The ID of the site script to remove.
Parameter properties
| Type: | Microsoft.Online.SharePoint.PowerShell.SPOSiteScriptPipeBind |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.