How do I detach a page layout from a page and attach a different one? Is there a powershell command. SharePoint Designer is throwing an error.
I deployed a new set of master pages and page layouts and removed my old ones. I missed detaching a couple pages from the page layouts and now when I try to open those pages I'm getting a File Not Found. I've recovered the old page layouts and I still cannot open the pages. I tried detaching the page layout in SharePoint Designer but it's throwing an error "operation is not valid due to the state of the object."