共用方式為


Remove-SPOContentSecurityPolicy

內容安全 策略組態中移除來源。

語法

Default (預設值)

Remove-SPOContentSecurityPolicy
    [-Source] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

內容安全 策略組態中移除指定的來源。 在多地理位置環境中, 內容安全 策略設定對於每個地理位置都是獨一無二的。

參數

-Confirm

執行 Cmdlet 之前提示您確認。

參數屬性

類型:System.Management.Automation.SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:cf

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Source

適用:SharePoint Online

要從 內容安全 策略組態中移除的來源。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:0
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-WhatIf

顯示執行 Cmdlet 時會發生什麼情況。 未執行 Cmdlet。

參數屬性

類型:System.Management.Automation.SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:無線

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters

輸入

None

輸出

System.Object