Creating a classic authentication based web application to restore 2010 non-claims DB’s into

posted in: PowerShell | 0

 

Script to clean out log files, or any files in a directory based on date

    If you only want one week, change the file age to 7. Or, if you want 90 days, then change it to 90. The paths to clean specified in this example are meant to be changes and … Read More

Create a Host Named Site Collection and Set Anonymous

These steps create the HNSC and then explain setting anonymous access:

  Step 5, Enable Anonymous access Turn anonymous on under Authentication for the default zone assuming you followed the advice above.  If in a different zone then adjust … Read More

Backup a SharePoint Site Collection (and restore it)

The following assumes you have a Host Named Site Collection. Backup:

  Technet: http://technet.microsoft.com/en-us/library/ff607901(v=office.15).aspx Notice nothing special needs to be done in regards to the host named site collection when performing the backup. Restore:

    Notice how … Read More

Max_Path

Happy Birthday to my oldest son, Wade Simpkins!! Sorry about the brevity of this post.  I didnt want to exceed the max path. ​When a file path exceeds 256 characters in SharePoint, things start to breakdown, avoid using special characters. and … Read More

1 2 3 4 5 6 7 8