The following is part of the file edit07.html: From $array I\'m able to access the $empid = $user.employeeid and $seat = $user.Position<
$array
$empid = $user.employeeid
$seat = $user.Position<
Changed
$fileContent = Get-Content 'c:\temp\edit07.html'
to
$fileContent = [IO.file]::ReadAllText('c:\mgmt\schart\edit07.html')