How can I stop and start individual websites in IIS using PowerShell?

Posted by Joey Green on Stack Overflow See other posts from Stack Overflow or by Joey Green
Published on 2010-04-25T22:06:24Z Indexed on 2010/04/25 22:13 UTC
Read the original article Hit count: 294

I have multiple sites configured in IIS7 on my Windows7 development machine to run on the same port and usually only run one at a time depending on what I'm working on. I would like to be able to start and stop my development sites from PowerShell instead of having the IIS manager opened. Does anyone have a good resource to point me in the right direction or a script that already accomplishes this?

Thanks

© Stack Overflow or respective owner

Related posts about Windows

Related posts about iis