Closed Stephanevg closed 5 years ago
$e = 3
span -Content {$e}
<span >$e</span>
span $e
<span >3</span>
span -Content $e
<span >3</span>
It only doesn't work when we add the '{}'
As a comparaison, it works for other tags:
p $e
<p >3</p>
p {$e}
<p >3</p>
img $e
<img src="3" />
Removed the [String] from the $Content parameter fixed the issue
Should show
5
, but shows$($TotalMachineCount)