Table of Contents

Remove-PnPHomeSite

SYNOPSIS

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

Removes the currently set site as the home site

SYNTAX

Remove-PnPHomeSite [-Force] [-Connection <PnPConnection>] 

DESCRIPTION

Allows to remove a site which currently is set as home site.

EXAMPLES

EXAMPLE 1

Remove-PnPHomeSite

Removes the currently set site as the home site

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: PnPConnection
Parameter Sets: (All)

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

-Force

Specifying the Force parameter will skip the confirmation question.

Type: SwitchParameter
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices