As I promised, I am publishing a post about creating an application with a graphical user interface for searching exchange server logs. Traditionally, Powershell suffered from the lack of a convenient method for creating graphical interfaces. I tried different methods – system windows forms, sapien powershell studio, windows presentation foundation..
This script is written to work with a graphical user interface. I will tell about creating GUI for it in the following posts. The idea of this script is quite simple. Get (using automatic variable $PSBoundParameters) all the parameters that were passed to the script, process them and pass to cmdlet on the remote machine. This method can be applied in any such scripts.