external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Changes Office 365 CDN policy.
Set-KshTenantCdnPolicy [-Public] -Type <TenantCdnPolicyType> -Value <String>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-KshTenantCdnPolicy [-Private] -Type <TenantCdnPolicyType> -Value <String>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
The Set-KshTenantCdnPolicy cmdlet changes the value of Office 365 CDN policy. This cmdlet can be used only when connected to the SharePoint admin center.
PS C:\> Set-KshTenantCdnPolicy -Public -Type 'IncludeFileExtensions' -Value 'CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF'
Changes Office 365 Public CDN policy.
PS C:\> Set-KshTenantCdnPolicy -Private -Type 'IncludeFileExtensions' -Value 'GIF,ICO,JPEG,JPG,JS,PNG'
Changes Office 365 Private CDN policy.
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
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
Specifies the policy type.
Type: TenantCdnPolicyType
Parameter Sets: (All)
Aliases:
Accepted values: IncludeFileExtensions, ExcludeRestrictedSiteClassifications, ExcludeIfNoScriptDisabled
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the value.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.