Skip to content

Latest commit

 

History

History
119 lines (88 loc) · 2.35 KB

Set-KshTenantCdnEnabled.md

File metadata and controls

119 lines (88 loc) · 2.35 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Set-KshTenantCdnEnabled

SYNOPSIS

Changes whether Office 365 CDN is enabled.

SYNTAX

ParamSet1

Set-KshTenantCdnEnabled [-Public] -Enabled <Boolean> [-NoDefaultOrigins] [<CommonParameters>]

ParamSet2

Set-KshTenantCdnEnabled [-Private] -Enabled <Boolean> [-NoDefaultOrigins] [<CommonParameters>]

DESCRIPTION

The Set-KshTenantCdnEnabled cmdlet changes whether Office 365 CDN is enabled in the tenant. This cmdlet can be used only when connected to the SharePoint admin center.

EXAMPLES

Example 1

PS C:\> Set-KshTenantCdnEnabled -Public -Enabled $true

Enables Office 365 Public CDN.

Example 2

PS C:\> Set-KshTenantCdnEnabled -Private -Enabled $true

Enables the Office 365 Private CDN.

PARAMETERS

-Enabled

Specifies whether Office 365 CDN is enabled.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-NoDefaultOrigins

If specified, prevent to create the default origins.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Private

If specified, targets Office 365 Private CDN.

Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:

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

-Public

If specified, targets Office 365 Public CDN.

Type: SwitchParameter
Parameter Sets: ParamSet1
Aliases:

Required: True
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.

INPUTS

None

OUTPUTS

None

NOTES

RELATED LINKS