Getting an SPWebApplication object using PowerShell
A SharePoint deployment isn’t much of a deployment if there are no web applications. A web application in SharePoint contains one or more content databases, each of which can contain one or more site collections, etc., etc. The SPWebApplication class has tons of methods and properties for directly or indirectly manipulating all things related to web applications – you can do backups, add content databases and site collections, set alert settings, manipulate the web.config file, […]