Introduction
On a daily basis, I perform a set of checks on customer SharePoint farm servers using a checklist. Items in this checklist include:
On a daily basis, I perform a set of checks on customer SharePoint farm servers using a checklist. Items in this checklist include:
- Farm problems and solutions report
- Server event logs
- Status of key farm server services
- Status of IIS application pools and sites
- Search health reports
- Status of AppFabric
- Status of 2013 Workflow services
To speed up these routine checks, I've partially automated them in a PowerShell script, which reports on key server services, IIS sites and IIS application pools. It is run from any elevated PowerShell on any farm server and presents its results in the shell. Necessary modules, snap-ins and features are automatically verified and installed if necessary to execute the script commands. The script has been published to TechNet and is a framework in progress for further development.
Script
References
- AppPoolState Metabase Property (IIS 6.0)
- Finding IIS Application Pool States with PowerShell
- Get-WmiObject
- Get-WebApplication
- PowerShell Basics: Formatting
- PowerShell cmdlet shows property, but it can't display it through 'select'
- Five Simple But Powerful PowerShell Functions/Filters for SharePoint
- How to get all running sites of an IIS webserver using powershell, called from the context of a website?
- Get the application pool for a web application using the IIS7 PowerShell snap-in
- Trim Your Strings with PowerShell
- App Pools and PowerShell
- Getting Started with the IIS 7.0 PowerShell Snap-in
- PowerShell Snap-in: Making Simple Configuration Changes to Web-Sites and Application Pools
- Add-WindowsFeature
- Part-1: Text Manipulation in PowerShell using Trim, TrimStart , TrimEnd methods
- Name of Web Applications using PowerShell
- Manage Windows Features with PowerShell: Add Feature or Role
- Using String Functions
- SharePoint 2013: Listing out Existing SharePoint App Pools
- PowerShell: How to get logon account of services on remote computer
- PowerShell Basics: Formatting
- Querying for Windows Server Features using PowerShell ServerManager Module
- Add a Progress Bar to Your PowerShell Script
Notes
- None yet.
No comments:
Post a Comment