Skip to content

Latest commit

 

History

History
139 lines (105 loc) · 2.95 KB

File metadata and controls

139 lines (105 loc) · 2.95 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/set-spodisablespacesactivation
applicable SharePoint Online
title Set-SPODisableSpacesActivation
schema 2.0.0
author samkabue
ms.author speedta
ms.reviewer

Set-SPODisableSpacesActivation

SYNOPSIS

Disables the SharePoint Spaces activation.

SYNTAX

Set-SPODisableSpacesActivation [-Disable] <Boolean> [-Scope] <String> [[-Identity] <SpoSitePipeBind>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Disables the SharePoint Spaces activation either at Tenant level or Site level.

EXAMPLES

Example 1

PS C:\> Set-SPODisableSpacesActivation -Scope Tenant -Disable:$true

This example disables the SharePoint Spaces activation at Tenant level.

Example 2

PS C:\> Set-SPODisableSpacesActivation -Disable:$true -Identity https://contoso.sharepoint.com/sites/Marketing -Scope Site

This example disables the SharePoint Spaces activation for a site.

PARAMETERS

-Disable

Set True to disable SharePoint Spaces activation, set to False to enable.

Type: System.Boolean
Parameter Sets: (All)
Aliases:

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

-Identity

Specifies the URL of the site collection to update.

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

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

-Scope

Specifies the scope.

Possible values:

  • Tenant
  • Site
Type: System.String
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS