I am trying to delete the calendar overlay but I am not able to delete it.

The overlay is from the other site collection, but that site collection is deleted.

When I try to delete the overlay, it is throwing this error:

File Not Found

Can anyone suggest me PowerShell command to remove the overlay from the calendar.


As per my understanding you want to delete the overlay view of your calendar list. Please check if below powershell code helps you:

$SPWeb = Get-SPWeb $WebUrl
$List = $SPWeb.Lists["CalendarName"]
$View = $List.Views["OverlayViewName"]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.