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

Creating Host Named Site Collections

The following is based on the Exam Ref 70-331: Core Solutions of Microsoft SharePoint Server 2013 by Troy Lanphier. Check out Kirk Evan’s blog for more background behind HNSC – http://blogs.msdn.com/b/kaevans/archive/2012/03/27/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections.aspx

   

Creating the config db and central admin

To avoid the ugly/yucky GUID tails off the end of your Central Administration database, use this line of powershell and these steps:

    (The above oneliner is taken from page 63 of “Professional SharePoint 2013 Administration“, by Shane … Read More

Retrieving job history over a period of time

      Retreiving SharePoint 2010 Jobs Details by Date and Time 1. Log onto your SharePoint 2010 application server with farm admin rights. 2. Run SharePoint Admin Shell. 3. Change the SharePoint application in the script on line … Read More

1 2 3 4 5 6