Category: Powershell

SharePoint powershell scripts

  • Clear SharePoint 2013 Config Cache

    SharePoint 2013 Config Cache fix mostly unstable service or applications, try with cache clear script as troubleshoot them in farm level.  Here the scripts makes perfect with dynamic values of GUI ID and other parameters.

    Standalone farm clean can be done manually but if its multi-tier farm would time conservation so better do with powerful tool. Tweak with below dynamic script that not require any additional changes.

    Cheers!

  • Verifying SMTP SharePoint Outbound mail settings

    Once we configured the SharePoint outbound mail server then our responsible to test the setup. Here the small powershell snippet will do!

    If you get “True” the configuration perfectly alright, else you have to check the ULS log to find an issue. Suppose if you are not getting a mail you have to check smtp log or address to exchange/wintel team.

  • Create claims-based web application from SharePoint PowerShell

    Creating claims-based web application is more flexible with SharePoint PowerShell script than CA. Here, the snippet for http and ssl site.

    Cheers…!

  • Delete SharePoint list items from PowerShell

    Here the quick solution to clean up/delete SharePoint list items that save a days lot if cleanup required. Manual efforts would take a lot so prefer to go with scripts;

    Cheers…!

  • Creating Managed Metadata Service Application by Powershell Script

    As we are all knows, the SharePoint Powershell can be fast and simple. Here the sample script for creating Managed Metadata Service Application;

    Cheers!

  • Script to disable list, libraries from SharePoint crawler

    This script will disable all list and libraries from search result in the site collection.

    You can disable it from list/library’s advanced settings. If numerous lists then the script will make it easier.