none
PowerShell scripts for SharePoint 2013 monitoring RRS feed

  • Question

  • Dear,

    Can anyone provide automation PowerShell scripts for AppPool monitoring which Should trigger an email with statuses as well check all the site collection statuses whether all the sites are online or not if not online need to get an email  in SharePoint 2013. I have tried many scripts online but could not get it and some scripts are not generating email.

    Versiton:SharePoint 2013, OS:Win2012 standard 

    Thanks,

     

    Monday, August 12, 2019 11:05 AM

Answers

  • Hi SBK52, 

    Powershell script to monitor application pool status for SharePoint for your reference:

    https://gallery.technet.microsoft.com/office/Powershell-script-to-028ea62c

    This PowerShell script can be used to monitor the status of the application pool for SharePoint. The script can be scheduled in the task scheduler. This script can be run remote. The account executing this script must have access to the sharepoint servers.

    This script gets input from the text file ServerList.txt (This text file should contain the list of sharepoint servers on which you are going to monitor the app pool status). This text file should be placed under the same folder or location where the AppPoolStatus.ps1 script is placed.

    Edit the AppPoolStatus.ps1 file to enter the "from" email address, "to" email address and SMTP server details.

    Best Regards, 

    Lisa Chen 


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, August 13, 2019 2:33 AM
    Moderator