$test = “PC1”, “PC2”, “PC3”
get-process | select name | ConvertTo-Html -head $HTML_table_style -body " $test[0] " | Out-File $env:USERPROFILE\documents\test.html
Invoke-Item $env:USERPROFILE\documents\test.html
This of course doesn’t work and displays all elements in $test + [0]. How in this one expression can I specify just one element in the array?