Category: 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’…
-
Office365 – Open PDF in the Browser
SharePoint 2010 and SharePoint 2010 Online have a default setting which prevents certain files (e.g. PDF) from being opened in the browser. This setting is in Central Administration – “Permissive Browser File Handling”, which allows users to open files in their native applications. This can be considered a security risk… however most organisations I have…
-
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…