Exchange organization simple documentation script

 Simple script to export most important (in my opinion) configuration settings of Exchange organization, using get-* cmdlets. Each cmdlet is exported to text file with actual date. Recently updated to Exchange 2013  SP1 version, helps me analyze configuration and preparing post

get-ExDocs.ps1
 
 
 
 
 
5 Star
(7)
3,411 times
Add to favorites
Exchange
12/16/2014
E-mail Twitter del.icio.us Digg Facebook
  • Script is not executed. Thanks for your help!!
    4 Posts | Last post March 24, 2016
    • First of all, I'm not an expert with powershell. I run the script, but throws error. Any reason why it happens? then summary messages presented:
      
      The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
      eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
      At C:\Get-ExportConf.ps1:50 char:46
      + $ExchangeServers = [array](Get-ExchangeServer <<<< )
          + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
          + FullyQualifiedErrorId : CommandNotFoundException
      
      Cannot index into a null array.
      At C:\Get-ExportConf.ps1:53 char:29
      +     $actual = $ExchangeServers[ <<<< $i].AdminDisplayVersion.Major
          + CategoryInfo          : InvalidOperation: (0:Int32) [], RuntimeException
          + FullyQualifiedErrorId : NullArray
      
      Cannot index into a null array.
      At C:\Get-ExportConf.ps1:54 char:32
      +     $allbuilds = $ExchangeServers[ <<<< $i].AdminDisplayVersion.Build
          + CategoryInfo          : InvalidOperation: (0:Int32) [], RuntimeException
          + FullyQualifiedErrorId : NullArray
    • Script must be executed from Exchange Management Shell - it should be installed with Exchange Management Tools on Exchange Server, Exchange Management Tools could be installed also on admin workstation - at least Windows 7.
    • Konrad,
      
      Thanks, I will try to perform immediately!!
    • Konrad,
      
      Perfect, thank you very much!!!