I recently had a request to that I hadn’t had before. Requirements: Copy file from one location daily to overwrite an existing document File has to be the only that that gets checked in File is in some subfolders Check out and approve needs to be left turned on Versioning needs to be left on It needs to run at …
Restoring to a host name site collection (SharePoint 2013)
When backing up a SharePoint site and restoring to a HNSC (Host name site collection) the command is slightly different. You have to specify the web application and also the database that the HNSC sits in. For example: Restore-SPSite http://mysite -Path E:\TEMP\mysite.bak -force -HostHeaderWebApplication http://mywebapp -DatabaseName MySharePointDatabase The above command will restore the mysite.bak file to the URL http://mysite which …