IIS 6.0: what is the WMI equivalent of "Convert Folder To Application"?
Posted
by Richard Berg
on Stack Overflow
See other posts from Stack Overflow
or by Richard Berg
Published on 2010-03-18T19:37:50Z
Indexed on
2010/03/18
19:41 UTC
Read the original article
Hit count: 402
Basically, imagine you need to automate these steps:
- Open Internet Information Services.
- Find the web site, find the folder, right click the folder and select properties.
- Click the Directory folder.
- Under Applications settings, click the Create button. The application is now created. Click OK to finish.
(click for a pictoral walkthru)
My end goal is Powershell, but answers that use JScript or VB.NET or whatever are fine too.
Bonus points if the same code works against an IIS7 application running in 6.0 Compatibility Mode.
© Stack Overflow or respective owner