| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/remove-spocontentsecuritypolicy |
| applicable | SharePoint Online |
| title | Remove-SPOContentSecurityPolicy |
| schema | 2.0.0 |
| author | jaobrie |
| ms.author | jaobrie |
| manager | ryannak |
| ms.reviewer |
Removes a source from the Content Security Policy configuration.
Remove-SPOContentSecurityPolicy [-Source] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Removes the given source from the Content Security Policy configuration. In multi-geo environments, Content Security Policy configuration is unique to each geo.
Applicable: SharePoint Online
Source to be removed from the Content Security Policy configuration.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.