CSS Exchange is for Exchange Server support tools and scripts.

Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related Microsoft Mail 3.5. Exchange initially used the X.400 directory service but switched to Active Directory later. Until version 5.0 it came bundled with an email client called Microsoft Exchange Client. This was discontinued in favor of Microsoft Outlook.

Exchange Server primarily uses a proprietary protocol called MAPI to talk to email clients, but subsequently added support for POP3, IMAP, and EAS. The standard SMTP protocol is used to communicate to other Internet mail servers. Exchange Server is licensed both as on-premises software and software as a service (SaaS). In the on-premises form, customers purchase client access licenses (CALs); as SaaS, Microsoft charges a monthly service fee instead.


  • bb41567 Add StartFresh parameter

function Get-IpmSubtree {
param ()
param (
$startFresh = $true

begin {
$startTime = Get-Date
@@ -10,7 +14,7 @@ function Get-IpmSubtree {

process {
if (Test-Path $PSScriptRoot\IpmSubtree.csv) {
if (-not $startFresh -and (Test-Path $PSScriptRoot\IpmSubtree.csv)) {
Write-Progress -Activity "Reading IPM_SUBTREE from file"
$ipmSubtree = Import-Csv $PSScriptRoot\IpmSubtree.csv
} else {

param (
$StartFresh = $true

. .\Get-IpmSubtree.ps1
. .\Get-NonIpmSubtree.ps1
. .\Get-ItemCounts.ps1
@@ -9,13 +16,13 @@

$startTime = Get-Date

$ipmSubtree = Get-IpmSubtree
$ipmSubtree = Get-IpmSubtree -startFresh $StartFresh

if ($ipmSubtree.Count -lt 1) {

$nonIpmSubtree = Get-NonIpmSubtree
$nonIpmSubtree = Get-NonIpmSubtree -startFresh $StartFresh

Write-Progress -Activity "Populating hashtables"

Other changes:

  • 55ca230 Merge pull request #22 from microsoft/main
  • d861f32 Merge pull request #21 from microsoft/bilong-ssv
  • 6cc91bd Use correct Join-Path syntax
  • 2dc86ae Force folder depth value to int for comparison
  • 06c8c88 Honor the max concurrency
  • c2d6f46 Use the correct hashmap
  • 10ff574 Add folder count migration limit warning
  • 0b010b2 Ignore CSVs in this folder
  • 90f0688 Remove SSV output CSVs

Download (CSS-Exchange v21.01.28.1514)