Home Forums Programming Powershell Concat hard value to each row of Hash Table RE: Concat hard value to each row of Hash Table
bruce 1565
SSCrazy
Points: 2574
More actions
April 17, 2014 at 3:11 pm
#1706936
Would something like this work or do you need the hashtable?
$bound = '------=_12253dsfae4654'
Foreach ($line In Get-Content SampleData.txt) {
$test += "{0}{1}{2}`n" -F $bound, $line, $bound
}
$test