Remove-PnPSiteDesignTask

Removes a Site Design Task. If the execution of the associated site script has already started the execution will not be terminated.

Syntax

Remove-PnPSiteDesignTask
      -Identity <TenantSiteDesignTaskPipeBind>
                              [-Force [<SwitchParameter>]]
                              [-Connection <SPOnlineConnection>]

Examples

------------------EXAMPLE 1------------------

Remove-PnPSiteDesignTask -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd

Removes the specified site design task

Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Force

If specified you will not be asked to confirm removing the specified Site Design

Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The ID of the site design to remove

Type:TenantSiteDesignTaskPipeBind
Position:0
Accept pipeline input:True
Accept wildcard characters:False