Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. $AppPoolName = "" #Name of your app pool
  2. $Mode = "" #For "Integrated" set this value to "0" and for "Classic" set it to "1"
  3.  
  4. Import-Module WebAdministration
  5.  
  6. Get-ChildItem IIS:\AppPools | ?{$_.Name -eq $AppPoolName} | Select-Object -ExpandProperty PSPath | %{ Set-ItemProperty $_ managedPipelineMode $mode -Verbose}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement