Tag: PowerShell

  • PowerShell to disable Application Pool timeouts

    There are few things more annoying in life than debugging in Visual Studio and getting an App Pool timeout in IIS7+ and having to start again… See below my PowerShell script to disable this on all application pools. Disclaimer: Only to be run on a development environment. Really!!! $AppPools = Get-WmiObject -Class IISApplicationPoolSetting -Namespace ‘root/microsoftiisv2’…

  • Create Thousands of Folders in SharePoint 2010 using PowerShell

    I was recently trying to figure out a MOSS 2007 AND SharePoint 2003 backwards-compatible way of detecting whether a folder exists in a document library with thousands of items, from a remote location, using Out Of The Box web services… don’t ask why…! Unless I’ve missed something, it’s not possible (apart from the slightly hacky…