Skip to content

Commit 9524f1e

Browse files
authored
Merge branch 'master' into patch-50
2 parents 4e7672e + f739848 commit 9524f1e

16 files changed

+1195
-9
lines changed

sharepoint/docfx.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
"sharepoint-ps/sharepoint-online/*.md":"sharepoint-powershell"
6969
},
7070
"ms.prod":{
71-
"sharepoint-ps/sharepoint-server/*.md":"sharepoint-2016-powershell"
71+
"sharepoint-ps/sharepoint-server/*.md":"sharepoint-powershell"
7272
}
7373
},
7474
"template": [],
7575
"dest": "sharepoint-ps"
7676
}
77-
}
77+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
applicable: SharePoint Online
5+
title: Add-SPOOrgAssetsLibrary
6+
7+
8+
ms.reviewer:
9+
10+
online version:
11+
schema: 2.0.0
12+
---
13+
14+
# Add-SPOOrgAssetsLibrary
15+
16+
## SYNOPSIS
17+
18+
Designates a library to be used as a central location for organization assets across the tenant.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Add-SPOOrgAssetsLibrary -LibraryUrl <String> [-ThumbnailUrl <String>] [-CdnType <SPOTenantCdnType>]
24+
[<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
The Add-SPOOrgAssetsLibrary cmdlet designates a library to be a central location for organization assets across the tenant. Once this cmdlet is run, assets stored within this library are available to sites across the tenant. The name publicly displayed for the library will be the name of the library on the SharePoint site.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
35+
This example adds https://contoso.sharepoint.com/sites/branding/Assets as a designated library for organization assets. Assets 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.
36+
37+
```powershell
38+
Add-SPOOrgAssetsLibrary -LibraryURL https://contoso.sharepoint.com/sites/branding/Assets -ThumbnailURL https://contoso.sharepoint.com/sites/branding/Assets/contosologo.jpg
39+
```
40+
41+
## PARAMETERS
42+
43+
### -CdnType
44+
45+
Specifies the CDN type. The valid values are public or private.
46+
47+
```yaml
48+
Type: SPOTenantCdnType
49+
Parameter Sets: (All)
50+
Aliases:
51+
Applicable: SharePoint Online
52+
Accepted values: Public, Private
53+
Required: False
54+
Position: Named
55+
Default value: Private
56+
Accept pipeline input: False
57+
Accept wildcard characters: False
58+
```
59+
60+
### -LibraryUrl
61+
62+
Indicates the absolute URL of the library to be designated as a central location for organization assets.
63+
64+
```yaml
65+
Type: String
66+
Parameter Sets: (All)
67+
Aliases:
68+
Applicable: SharePoint Online
69+
Required: True
70+
Position: Named
71+
Default value: None
72+
Accept pipeline input: False
73+
Accept wildcard characters: False
74+
```
75+
76+
### -ThumbnailUrl
77+
78+
Indicates the URL of the background image used when the library is publicly displayed. If no thumbnail URL is indicated, the card will have a gray background.
79+
80+
```yaml
81+
Type: String
82+
Parameter Sets: (All)
83+
Aliases:
84+
Applicable: SharePoint Online
85+
Required: False
86+
Position: Named
87+
Default value: None
88+
Accept pipeline input: False
89+
Accept wildcard characters: False
90+
```
91+
92+
## INPUTS
93+
94+
## OUTPUTS
95+
96+
## NOTES
97+
98+
## RELATED LINKS
99+
100+
[Get-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/get-spoorgassetslibrary?view=sharepoint-ps)
101+
102+
[Set-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/set-spoorgassetslibrary?view=sharepoint-ps)
103+
104+
[Remove-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/remove-spoorgassetslibrary?view=sharepoint-ps)
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
applicable: SharePoint Online
5+
title: Add-SPOOrgAssetsLibrary
6+
7+
8+
ms.reviewer:
9+
10+
online version:
11+
schema: 2.0.0
12+
---
13+
14+
# Get-SPOOrgAssetsLibrary
15+
16+
## SYNOPSIS
17+
18+
Displays information about all libraries designated as locations for organization assets.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Get-SPOOrgAssetsLibrary [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
The Get-SPOOrgAssetsLibrary cmdlet displays information about all libraries designated as locations for organization assets.
29+
30+
Once this cmdlet is run, it will display the name and URL of the site where assets are originally stored, as well as the display name, server relative library URL, list ID, and thumbnail URL for any associated libraries.
31+
32+
## EXAMPLES
33+
34+
### Example 1
35+
36+
This example displays the name and URL of the site where assets are originally stored. It also provides a list of any associated libraries and shows the respective display name, server relative library URL, list ID, and thumbnail URL.
37+
38+
```powershell
39+
Get-SPOOrgAssetsLibrary
40+
```
41+
42+
## PARAMETERS
43+
44+
## INPUTS
45+
46+
## OUTPUTS
47+
48+
## NOTES
49+
50+
## RELATED LINKS
51+
52+
[Add-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/add-spoorgassetslibrary?view=sharepoint-ps)
53+
54+
[Set-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/set-spoorgassetslibrary?view=sharepoint-ps)
55+
56+
[Remove-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/remove-spoorgassetslibrary?view=sharepoint-ps)
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
applicable: SharePoint Online
5+
title: Add-SPOOrgAssetsLibrary
6+
7+
8+
ms.reviewer:
9+
10+
online version:
11+
schema: 2.0.0
12+
---
13+
14+
# Remove-SPOOrgAssetsLibrary
15+
16+
## SYNOPSIS
17+
18+
Removes a library that was designated as a central location for organization assets across the tenant.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Remove-SPOOrgAssetsLibrary -LibraryUrl <String> -ShouldRemoveFromCdn <Boolean>
24+
[<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
29+
The Remove-SPOOrgAssetsLibrary cmdlet removes a library that was designated as a central location for organization assets across the tenant. Once this cmdlet is run, this library will no longer be accessible from the "Your organization" tab in the file picker.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
35+
This example removes https://contoso.sharepoint.com/sites/branding/Assets as a designated library. Assets within this library will no longer be accessible from the "Your organization" tab in the file picker.
36+
37+
```powershell
38+
Remove-SPOOrgAssetsLibrary -LibraryURL Assets
39+
```
40+
41+
## PARAMETERS
42+
43+
### -LibraryUrl
44+
45+
Indicates the server relative URL of the library to be removed as a central location for organization assets.
46+
47+
```yaml
48+
Type: String
49+
Parameter Sets: (All)
50+
Aliases:
51+
Applicable: SharePoint Online
52+
Required: True
53+
Position: Named
54+
Default value: None
55+
Accept pipeline input: False
56+
Accept wildcard characters: False
57+
```
58+
59+
### -ShouldRemoveFromCdn
60+
61+
Remove CDN from the designated library.
62+
63+
```yaml
64+
Type: Boolean
65+
Parameter Sets: (All)
66+
Aliases:
67+
Applicable: SharePoint Online
68+
Required: True
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
## INPUTS
76+
77+
## OUTPUTS
78+
79+
## NOTES
80+
81+
## RELATED LINKS
82+
83+
[Add-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/add-spoorgassetslibrary?view=sharepoint-ps)
84+
85+
[Set-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/set-spoorgassetslibrary?view=sharepoint-ps)
86+
87+
[Get-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/get-spoorgassetslibrary?view=sharepoint-ps)
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
applicable: SharePoint Online
5+
title: Add-SPOOrgAssetsLibrary
6+
7+
8+
ms.reviewer:
9+
10+
online version:
11+
schema: 2.0.0
12+
---
13+
14+
# Set-SPOOrgAssetsLibrary
15+
16+
## SYNOPSIS
17+
18+
Updates information for a library that is designated as a location for organization assets.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Set-SPOOrgAssetsLibrary -LibraryUrl <String> -ThumbnailUrl <String> [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
The Set-SPOOrgAssetsLibrary cmdlet updates information for a library that is designated as a location for organization assets. Updating the thumbnail URL is currently supported.
29+
30+
## EXAMPLES
31+
32+
### Example 1
33+
34+
This example updates the thumbnail publicly displayed for the library to contosologo2.jpg.
35+
36+
```powershell
37+
Set-SPOOrgAssetsLibrary -LibraryURL Assets -ThumbnailURL https://contoso.sharepoint.com/sites/branding/Assets/contosologo2.jpg
38+
```
39+
40+
## PARAMETERS
41+
42+
### -LibraryUrl
43+
44+
Indicates the server relative URL of the library to be modified.
45+
46+
```yaml
47+
Type: String
48+
Parameter Sets: (All)
49+
Aliases:
50+
Applicable: SharePoint Online
51+
Required: True
52+
Position: Named
53+
Default value: None
54+
Accept pipeline input: False
55+
Accept wildcard characters: False
56+
```
57+
58+
### -ThumbnailUrl
59+
60+
Indicates the URL of the background image used when the library is publicly displayed. If no thumbnail URL is indicated, the card will have a gray background.
61+
62+
```yaml
63+
Type: String
64+
Parameter Sets: (All)
65+
Aliases:
66+
Applicable: SharePoint Online
67+
Required: True
68+
Position: Named
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
74+
## INPUTS
75+
76+
## OUTPUTS
77+
78+
## NOTES
79+
80+
## RELATED LINKS
81+
82+
[Add-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/add-spoorgassetslibrary?view=sharepoint-ps)
83+
84+
[Get-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/get-spoorgassetslibrary?view=sharepoint-ps)
85+
86+
[Remove-SPOOrgAssetsLibrary](https://docs.microsoft.com/powershell/module/sharepoint-online/remove-spoorgassetslibrary?view=sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/sharepoint-online.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ The following cmdlet references are for SharePoint Online.
2222
### [Add-SPOHubSiteAssociation](Add-SPOHubSiteAssociation.md)
2323
{{Manually Enter Add-SPOHubSiteAssociation Description Here}}
2424

25+
### [Add-SPOOrgAssetsLibrary](Add-SPOOrgAssetsLibrary.md)
26+
{{Manually Enter Add-SPOOrgAssetsLibrary Description Here}}
27+
2528
### [Add-SPOSiteDesign](Add-SPOSiteDesign.md)
2629
{{Manually Enter Add-SPOSiteDesign Description Here}}
2730

@@ -112,6 +115,9 @@ The following cmdlet references are for SharePoint Online.
112115
### [Get-SPOMigrationJobStatus](Get-SPOMigrationJobStatus.md)
113116
{{Manually Enter Get-SPOMigrationJobStatus Description Here}}
114117

118+
### [Get-SPOOrgAssetsLibrary](Get-SPOOrgAssetsLibrary.md)
119+
{{Manually Enter Get-SPOOrgAssetsLibrary Description Here}}
120+
115121
### [Get-SPOPublicCdnOrigins](Get-SPOPublicCdnOrigins.md)
116122
{{Manually Enter Get-SPOPublicCdnOrigins Description Here}}
117123

@@ -250,6 +256,9 @@ The following cmdlet references are for SharePoint Online.
250256
### [Remove-SPOMigrationJob](Remove-SPOMigrationJob.md)
251257
{{Manually Enter Remove-SPOMigrationJob Description Here}}
252258

259+
### [Remove-SPOOrgAssetsLibrary](Remove-SPOOrgAssetsLibrary.md)
260+
{{Manually Enter Remove-SPOOrgAssetsLibrary Description Here}}
261+
253262
### [Remove-SPOPublicCdnOrigin](Remove-SPOPublicCdnOrigin.md)
254263
{{Manually Enter Remove-SPOPublicCdnOrigin Description Here}}
255264

@@ -331,6 +340,9 @@ The following cmdlet references are for SharePoint Online.
331340
### [Set-SPOMigrationPackageAzureSource](Set-SPOMigrationPackageAzureSource.md)
332341
{{Manually Enter Set-SPOMigrationPackageAzureSource Description Here}}
333342

343+
### [Set-SPOOrgAssetsLibrary](Set-SPOOrgAssetsLibrary.md)
344+
{{Manually Enter Set-SPOOrgAssetsLibrary Description Here}}
345+
334346
### [Set-SPOSite](Set-SPOSite.md)
335347
{{Manually Enter Set-SPOSite Description Here}}
336348

0 commit comments

Comments
 (0)