How to run db2pd -hadr in batch mode
I found a way to do this using two batch files:

test1.bat
------------------------------------------------------------------------
db2cmd -c -i -w "test2.bat"
PAUSE

test2.bat
------------------------------------------------------------------------
set db2instance=INST1
db2pd -db MYDB -hadr


This is effectively the same as running in interactive mode but if anybody has a way to do this using only one batch file please let me know!