database-tools

Using Hash Tables

Hash Tables are a great way to organize data. A hash table stores key-value-pairs. To create a new hash table variable, try this: $person = @{} You...

Strongly Typed Variables

Unless you override how PowerShell stores variable content, you may find that PowerShell does not automatically pick the best type. For example,...

Making Variables Constant

If you need to write more robust scripts, it makes sense to write-protect certain variables. Whenever you want a variable to set its content as...

Add Descriptions to Variables

Keeping track of a variable’s purpose can be accomplished by assigning a clear text description: $ip = '10.10.10.10' Set-Variable ip...

Assigning Variables

With PowerShell, you can assign values to multiple variables. For example, to initialize three variables to the same default value, use this: $a =...

Monitor Failed

Good evening, I have found an error in my uptime monitor (actually got an alert a bit ago) and the message that I see is as follows: Monitor failed:...

Db2 Tablespace Monitor

This monitor allows you to monitor all of the tablespaces for your DB2 instance. The monitor collects the stats for all of the tablespaces defined...

Db2 Buffer Pool Monitor

This monitor allows you to monitor all of the buffer pools for your DB2 instance. The monitor collects the stats for all of the buffer pools defined...

Basic Tomcat Monitor

Here is a monitor for the Tomcat users out there. This monitor is not based on JMX, and therefore requires that the manager/status servlet is...