Reset your index with PowerShell

As this great blog on repairing the SharePoint 2013 On-Prem reset index stuck resolution, states it’s best to reset your index using powershell. Sometimes when you search service is paused, you can run

    OR

    … Read More

Working with paused search index

When you want to know what search is up to, check it out with the management shell and these handy hints I copied in from Microsoft Technet – https://technet.microsoft.com/en-us/library/dn745901(v=office.15).aspx Run this

    if it returns false, the search … Read More

Creating a Search Service Application and topology with PowerShell in SharePoint 2013 or 2016 – IN SAME APP POOL AS OTHER SERVICE APPLICATIONS

You can use this script to create a new search service application after you have removed your search service application.  WARNING: This creates the search service in an existing application pool named “SharePoint Hosted Services”.  Edit the $saAppPoolName, $serviceAppName, and … Read More

Converting the 2013 classic web app to claims

posted in: PowerShell | 2

After you create the classic 2013 web application and mount some classic authentication mode databases to it from a 2010 server, you’ should convert the web application to use claims based authentication:

  After the job completes, you can … Read More

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

1 2 3 4 5 6 8