Jump to content


Automated Configuration Manager Secondary Site server with PowerShell

Recommended Posts

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 : http://configmgrpsh.codeplex.com/



Author: Kaido Jarvemets

Configuration Manager MVP, MCITP, MCTS

Blog: Depsharee.blogspot.com

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.