Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $SM = Get-IISServerManager
- $Site = $SM.Sites.Item("site") #find our site
- $Site.Applications[0].ApplicationPoolName = "MyPool" #change an appool of the default application
- $SM.CommitChanges()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement