This script fetches Exchange organization configuration data and stores the data in plain text or CSV files.
The script gathers a lot of Exchange organizational configuration data. The data is stored in separate log files.
The log files are stored in a separate subfolder located under the script directory. An exisiting subfolder will be deleted automatically.
Optionally, the log files can automatically be zipped. The zipped archive can be sent by email as an attachment.
Prefix to be used with log files and zip archive
Folder name of sub folder where all log files will be stored (default: ExchangeOrgInfo)
Switch to optionally send all log files to a zip archive
Switch to send the zipped archive via email
Sender email address
Recipient(s) email address(es)
FQDN of SMTP mail server to be used
.\Get-ExchangeOrganizationDetails.ps1 -Prefix MYCOMPANY
Gather all data using MYCOMPANY as a prefix
.\Get-ExchangeOrganizationDetails.ps1 -Prefix MYCOMPANY -Zip
Gather all data using MYCOMPANY as a prefix and save all files as a compressed archive
THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
Written by: Thomas Stensitzki
- My Blog: http://justcantgetenough.granikos.eu
- Twitter: https://twitter.com/stensitzki
- LinkedIn: http://de.linkedin.com/in/thomasstensitzki
- Github: https://github.com/Apoc70
- MVP Blog: https://blogs.msmvps.com/thomastechtalk/
- Tech Talk YouTube Channel (DE): http://techtalk.granikos.eu
For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos
- Blog: http://blog.granikos.eu
- Website: https://www.granikos.eu/en/
- Twitter: https://twitter.com/granikos_de