Faced with Splunk (automatic data collection and processing system). Wrote several powershell functions to automate access to splunk search queries via rest api.
-
-
GUI for message tracking log search
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..
-
Message tracking logs
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.
-
Check service version
Periodically there is a need to find out the version of the Windows service. For example, find out if the Zabbix agent is installed on the server and which version. I wrote the following function to solve this problem.
-
Telnet script
There are situations when you need to check the availability of a particular port. Send commands and get an answer. This script can be used as a complete replacement for telnet. Only if telnet cannot be mistaken when entering a command, then it is possible here. It can also be easily edited and used for automatic hosts querying.