|
Command & variable substitution Hello I have the following problem while creating a script which
contains the following line:
Script line:
get-wmiobject -class $strWMIClassName
Error description:
At xxx 1:74 char:15
+ get-wmiobject <<<< -class $strWMIClassName
As you can see the var is not substituted. I have tried all the ways I
do know from unix shells and so on how to substitute line $($var), `
$var`, ${var}....
Has anyone of you an idea how to solve this problem?
Thanks
Chris |