Little script, which ignores Self-Signed Certificates and Checks an Active_MQ queue. It is build to be integrated with Nagios.
example: .\check_active_mq.ps1 ActiveMQ.DLQ 500 2000
First argument is the queue name, second the queue size warning threshold, and third argument the queue size critical threshold.