IISConfig is a DSL written in ruby to configure IIS application pools and web and ftp sites.
iisconfig is destructive, any application pools or sites in the configuration
file will be deleted before being rebuilt.
iisconfig e config.iis
If you want to recycle just the application pools the
--recycle-apppools can be used
iisconfig e config --recycle-apppools
To perform a dry run, and to see what
appcmds will be executed add the switch
iisconfig e config.iis --dry-run
iisconfig must be run with administrative privileges.