anchor.diff:  
   if ($PSVersionTable.psversion.Major -gt 2) {
     & $chocInstallPS1
  -}
  -else {
  +} else {
     $output = Invoke-Expression $chocInstallPS1
     $output
     write-output "Any errors that occured during install or upgrade are logged here: $chocoErrorLog"
  
positive.code: # to the FileStream not being what is expected. Fixes "The OS handle's
  # position is not what FileStream expected. Do not use a handle
  # simultaneously in one FileStream and in Win32 code or another
  # FileStream."
  
  
  # This only works with the ConsoleHost (PowerShell InternalHost)
  
negative.code:     $field2.SetValue($consoleHost, [Console]::Error)
    } catch {
      Write-Output "Unable to apply redirection fix. Error: $_"
    }
  
  
  }
  