Hi deiandrei and Greg,
Thank you for both of suggestion. I found a solution, it seems very easy:
((db2 get dbm cfg | select-string DIAGPATH) -split ‘ = ‘)[1]
Hi deiandrei and Greg,
Thank you for both of suggestion. I found a solution, it seems very easy:
((db2 get dbm cfg | select-string DIAGPATH) -split ‘ = ‘)[1]