Automated Configuration Manager 2007 Secondary Site server with PowerShell

Automated Configuration Manager 2007 Secondary Site server with PowerShell

Project Description

InstallSiteServer.ps1 is a PowerShell script that installs Configuration Manager 2007 Secondary Site server automatically. Currently this script is written for only Windows Server 2008 R2 and Configuration Manager 2007. InstallSiteServer.ps1 uses XML file based configuration file to read how to prepare site server. The main goal for this project is to simplify as much as possible ConfigMgr Site System installation. You can configure in the configuration file:

  • What server roles will be installed or not
  • What additional software you want to install on that server e.g. WSUS, DOTNET 4.0 etc.
  • Configuration Manager installation files location
  • What hotfixes will be installed
  • What IIS file types should be enabled or not
  • Enable IIS hidden segment removal
  • Send an email with logs to your email


This script is divided into four phases and after every phase it will restart the server. Script phases:

First Phase

  • Enable Auto Logon
  • Install server roles
  • Configure WebDav
  • Configure IIS File Extensions
  • Configure IIS Hidden Segments
  • Restart Server

Second Phase

  • Install additional Software
  • Restart Server

Third Phase

  • Install Configuration Manager
  • Restart Server

Fourth Phase

  • Install R3 and other Hotfixes
  • Restart Server

You can find more information from here :


Author: Kaido Jarvemets
Configuration Manager MVP, MCITP, MCTS

Leave a Comment
  • Please add 3 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Page 1 of 1 (5 items)