Scripts & Functions

Here you can find the script I wrote in the past, which I think are worth to share with you.

Disclaimer:

The content on this website is presented “as-is” with no guarantees. The use of the scripts from this website is at your own risk. It’s always a good idea to test before using something in productive environment!


Get-IISStats.ps1

This script helps you to parse IIS as well as HTTPERR logs on Exchange server. Log Parser is needed. Exchange 2010 and 2013 is supported.


Get-RCAStats.ps1

This script helps you to parse RCA logs on Exchange server. Log Parser is needed. Exchange 2010 and 2013 is supported, but due to limitation you can’t parse logs from both versions at the same time. If you have a mixed environment you have to choose either Exchange 2010 or Exchange 2013. Default is Exchange 2010.


Get-OABStats.ps1

This script helps you to parse AddressBook logs on Exchange 2010 server. Log Parser is needed.


Get-EWSStats.ps1

This script helps you to parse EWS logs. Log Parser is needed. Exchange 2010 and 2013 is supported, but due to limitation you can’t parse logs from both versions at the same time. If you have a mixed environment you have to choose either Exchange 2010 or Exchange 2013. Default is Exchange 2010.


Get-HttPProxy.ps1

This script helps you to parse HttpProxy logs on Exchange 2013 server. Log Parser is needed.


Get-ActiveExchangeUsers.ps1

This script pulls some performance counters from Exchange server. Exchange 2010 and 2013 is supported.


Get-AutoD.ps1

This script simulates either a POX or SOAP Autodiscover request for a given e-mail address. PS3.0 is required.


Get-AutoDMobile.ps1

This script simulates mobile Autodiscover request for a given e-mail address. PS3.0 is required.


GetExchServer

With this function you can search for Exchange server with a specific role installed in a given AD site


Fix-KB3035227.ps1
This script edit the web.config on Exchange 2010/2013 servers according to KB3035227


Get-MailboxFolderPermissionEWS.ps1
This script collect folder-level permissions from mailboxes. It is also able to extract SIDs from folder property PR_NT_SECURITY_DESCRIPTOR by using MrMapi.exe


Get-CalendarItems.ps1
This script collects data from calendar items in order to troubleshooting issues. For more info read this post.



Get-NodeInformation.ps1

This script collects data from a Desired State Configuration pull server. For more info read this post.


Set-DSCLCMforPullServer.ps1
This script imports a CSV file and configure the Local Configuration Manager on target nodes for a pull server. For more info read this post.


New-DSCConfigsFromFiles.ps1
This script imports a CSV, DSC config and env. data file and creates MOF files for each target node. For more info read this post.


Enforce-DSCConfiguration.ps1
This script triggers a DSC consistency check on a target node. For more info read this post.


Get-MAPIStats.ps1

This script helps you to parse MAPI Client Access logs on Exchange 2013 server. Log Parser is needed. For more information read this post.


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s