Thanks Posho
I will try your method and reply with results.
Still I find it odd that the same line in the shell does add content to the $gwmi content. But when done in a script it doesn’t.
↧
Reply To: Can not get variables populated when in script
↧