Ir al contenido principal

Recycling Pool

I need to recycle application pool every time for SharePoint 2007 application page debug, so i searched for PowerShell script out there and ended with this option:

PS > (Get-WmiObject -class "iisapplicationpool" -namespace "root\microsoftiisv2"
-filter "Name='W3SVC/AppPools/DefaultAppPool'").Recycle()

here DefaultAppPool is the name of your application pool under the tree of IIS admin, so you must change on demand

this works fine for IIS6 on windows server 2003 R2 64bits, and power shell 1.0
It should work for power shell 2.0 and Win2008R2


Comentarios

Entradas populares de este blog

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04

Download sources GNUstep (stable or unstable) to compile; Dependencies First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command; almost every package ends with *-dev in ubuntu repositories this command will install all dependencies for compile: ~$ sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev GNUstep Make compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications. get the package, untar and change into the folder and compile: ~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz ~$tar xzvf gnustep-make-2.4.0.tar.gz ~$cd gnustep-make-2.4.0/ ~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions ~$make ~$sudo make -E install *NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable th...

Capacitación en línea

Python, uno de los lenguajes soportados en la GoogleApps beginning: python , ShowMeDo . jQuery commercial screencast: Peepcode.com SharePoint 2010, la tecnología de mayor crecimiento en micro$oft intro: Building Solutions on SharePoint 2010 SharePoint 2010 Beta Developer Center Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008 CriticalPath Technical Articles Driving SharePoint adoption SharePoint Server 2010 capacity management: Software boundaries and limits Learning Snack for Developers: Developing Solutions with Microsoft SharePoint 2010 (20 min) Experiencing the Microsoft SharePoint Server 2010 User Interface (20 min) Managing and Troubleshooting with Microsoft SharePoint Server 2010 (17 min) Microsoft eLearning: Clinic 10277: What's New in Microsoft SharePoint 2010 for Developers SharePoint 2010 for Internet Sites Implementers' Course Developing on SharePoint 2010 Getting Sta...

Collation SQL 2008

Troubleshooting with COLLATE in comparison between fields, found this information about Collation Settings in Setup . Also this forum thread provides a lot information about: Server Collation SQL_Latin1_General_CP1_CI_AS versus Latin1_General_CI_AS.