Skip to content

Commit 2f28d14

Browse files
Merge branch 'master' into PnPPowerShell13
2 parents e361b8d + 6909933 commit 2f28d14

File tree

2 files changed

+140
-1
lines changed

2 files changed

+140
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOOrgAssetsLibrary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Add-SPOOrgAssetsLibrary -LibraryURL https://contoso.sharepoint.com/sites/brandin
3838
```
3939
### Example 2
4040

41-
This example adds https://contoso.sharepoint.com/sites/branding/Templates as a designated library for organization assets. Templates is the name of the SharePoint library added and will be the name publicly displayed for the library. The thumbnail publicly displayed for the library is contosologo.jpg, from that same library. OrgAssetType is the type of Sharepoint library.
41+
This example adds https://contoso.sharepoint.com/sites/branding/Templates as a designated library for organization assets. Templates is the name of the SharePoint library added and will be the name publicly displayed for the library. The thumbnail publicly displayed for the library is contosologo.jpg, from that same library. OrgAssetType is the type of SharePoint library.
4242

4343
```powershell
4444
Add-SPOOrgAssetsLibrary -LibraryURL https://contoso.sharepoint.com/sites/branding/Templates -ThumbnailURL https://contoso.sharepoint.com/sites/branding/Templates/contosologo.jpg -OrgAssetType OfficeTemplateLibrary
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://docs.microsoft.com/powershell/module/sharepoint-online/set-spodisablespacesactivation
5+
applicable: SharePoint Online
6+
title: Set-SPODisableSpacesActivation
7+
schema: 2.0.0
8+
author: trent-green
9+
ms.author: trgreen
10+
ms.reviewer:
11+
---
12+
13+
# Set-SPODisableSpacesActivation
14+
15+
## SYNOPSIS
16+
Disables the SharePoint Spaces activation.
17+
18+
## SYNTAX
19+
20+
```
21+
Set-SPODisableSpacesActivation [-Disable] <Boolean> [-Scope] <String> [[-Identity] <SpoSitePipeBind>] [-WhatIf]
22+
[-Confirm] [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
Disables the SharePoint Spaces activation either at Tenant level or Site level.
27+
28+
## EXAMPLES
29+
30+
### Example 1
31+
```powershell
32+
PS C:\> Set-SPODisableSpacesActivation -Scope Tenant -Disable:$true
33+
```
34+
35+
This example disables the SharePoint Spaces activation at Tenant level.
36+
37+
### Example 2
38+
```powershell
39+
PS C:\> Set-SPODisableSpacesActivation -Disable:$true -Identity https://contoso.sharepoint.com/sites/Marketing -Scope Site
40+
```
41+
42+
This example disables the SharePoint Spaces activation for a site.
43+
44+
45+
## PARAMETERS
46+
47+
### -Confirm
48+
Prompts you for confirmation before running the cmdlet.
49+
50+
```yaml
51+
Type: SwitchParameter
52+
Parameter Sets: (All)
53+
Aliases: cf
54+
55+
Required: False
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -Disable
63+
Set True to disable SharePoint Spaces activation, set to False to enable.
64+
65+
```yaml
66+
Type: Boolean
67+
Parameter Sets: (All)
68+
Aliases:
69+
70+
Required: True
71+
Position: 1
72+
Default value: None
73+
Accept pipeline input: False
74+
Accept wildcard characters: False
75+
```
76+
77+
### -Identity
78+
Specifies the URL of the site collection to update.
79+
80+
```yaml
81+
Type: SpoSitePipeBind
82+
Parameter Sets: (All)
83+
Aliases:
84+
85+
Required: False
86+
Position: 0
87+
Default value: None
88+
Accept pipeline input: True (ByValue)
89+
Accept wildcard characters: False
90+
```
91+
92+
### -Scope
93+
Specifies the scope.
94+
95+
Possible values:
96+
- Tenant
97+
- Site
98+
99+
```yaml
100+
Type: String
101+
Parameter Sets: (All)
102+
Aliases:
103+
104+
Required: True
105+
Position: 2
106+
Default value: None
107+
Accept pipeline input: False
108+
Accept wildcard characters: False
109+
```
110+
111+
### -WhatIf
112+
Shows what would happen if the cmdlet runs.
113+
The cmdlet is not run.
114+
115+
```yaml
116+
Type: SwitchParameter
117+
Parameter Sets: (All)
118+
Aliases: wi
119+
120+
Required: False
121+
Position: Named
122+
Default value: None
123+
Accept pipeline input: False
124+
Accept wildcard characters: False
125+
```
126+
127+
### CommonParameters
128+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
129+
130+
## INPUTS
131+
132+
### Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
133+
134+
## OUTPUTS
135+
136+
### System.Object
137+
## NOTES
138+
139+
## RELATED LINKS

0 commit comments

Comments
 (0)