#Remove-SPOFile Removes a file. ##Syntax
Remove-SPOFile [-Force [<SwitchParameter>]] [-Web <WebPipeBind>] -ServerRelativeUrl <String>Remove-SPOFile [-Force [<SwitchParameter>]] [-Web <WebPipeBind>] -SiteRelativeUrl <String>##Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Force | SwitchParameter | False | |
| ServerRelativeUrl | String | True | |
| SiteRelativeUrl | String | True | |
| Web | WebPipeBind | False | The web to apply the command to. Omit this parameter to use the current web. |
| ##Examples |
###Example 1
PS:>Remove-SPOFile -ServerRelativeUrl /sites/project/_catalogs/themes/15/company.spcolor###Example 2
PS:>Remove-SPOFile -SiteRelativeUrl _catalogs/themes/15/company.spcolor