« Previous Next »

Thread: AppCmd or different tool?

Last post 09-11-2009 9:18 AM by ServerIntellect_BH. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-09-2009, 10:52 AM

    AppCmd or different tool?

     I would like to remotely manage an IIS 7 server from a different computer via scripts (to plug in to an automated build process).  AppCmd does not appear to have a -server flag.  Is there a better tool or am I missing something in AppCmd.  I want to be able to BoxA to control the sites and app pools on BoxB.  Both are running W2k8 64 bit.

  • 09-11-2009, 9:18 AM In reply to

    Re: AppCmd or different tool?

    Hello,

    Meet your new best friend... PowerShell!:

    http://blogs.iis.net/thomad/archive/2008/04/14/iis-7-0-powershell-provider-tech-preview-1.aspx

    The IIS7 PowerShell Provider allows you to

    • Create Web-Sites, Web Applications, Virtual Directories and Application Pools
    • Change Simple Configuration Properties on Web-Sites, Application Pools, Web Applications and Virtual Directories
    • Add and Change Complex Configuration Settings
    • Query Run-time Data (Web-Site State, Application Pool State, Currently Executing Requests)
    • Execute Advanced Configuration Tasks, Scripting, Integration with other PowerShell Snap-Ins and features
    • Search and Discover Configuration Settings

    Hope this helps!

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
Page 1 of 1 (2 items)
Microsoft Communities