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
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
Accept pipeline input:True (ByValue)
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
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online