Last active
November 28, 2016 13:51
-
-
Save Dalmirog-zz/f813e1f95b2b3a3b47c791809f6232dc to your computer and use it in GitHub Desktop.
Set App Pool Managed Pipeline Mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$AppPoolName = "" #Name of your app pool | |
$Mode = "" #For "Integrated" set this value to "0" and for "Classic" set it to "1" | |
Import-Module WebAdministration | |
Get-ChildItem IIS:\AppPools | ?{$_.Name -eq $AppPoolName} | Select-Object -ExpandProperty PSPath | %{ Set-ItemProperty $_ managedPipelineMode $mode -Verbose} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment