Muokkaa

Jaa


New-SPOPublicCdnOrigin

Creates a new public CDN on a document library in your SharePoint Online Tenant

Syntax

New-SPOPublicCdnOrigin
   [-Url] <String>
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

This cmdlet creates a new Public CDN Origin in your SPO Tenant

Examples

EXAMPLE 1

New-SPOPublicCdnOrigin -URL https://contoso.sharepoint.com/sites/CDN/CDNFilesLibrary/

This example shows how to you can setup a new Public CDN on a document library in your SharePoint online tenant.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Url

Specify the URL that will be enabled for Public CDN in your tenant

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Online

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online