Skip to content

Latest commit

 

History

History
109 lines (76 loc) · 2.54 KB

File metadata and controls

109 lines (76 loc) · 2.54 KB
external help file Module Name online version applicable title schema author ms.author ms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
New-SPOPublicCdnOrigin
2.0.0
trent-green
trgreen

New-SPOPublicCdnOrigin

SYNOPSIS

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
Parameter Sets: (All)
Aliases: cf
Applicable: SharePoint Online

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

-Url

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

Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

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

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: SharePoint Online

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.

NOTES

RELATED LINKS

Introduction to the SharePoint Online management shell

SharePoint Online Management Shell Download

Get-SPOAppErrors

Get-SPOPublicCdnOrigins

Remove-SPOPublicCdnOrigin