title: Convert all values of OrderedDictionary of the powershell to string line and print to the log file
body: <p>I have some problems with converting values of the OrderedDictionary of the PowerShell to the string line. I have the following hash table [OrderedDictionary]:
  <a href="https://i.stack.imgur.com/3l19Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3l19Y.png" alt="enter image description here" /></a></p>
  <p>I try outputting data of values to a string:</p>
  <pre><code>  for ($i = 0; $i -lt $DataResult.Count; $i++) {
          $DataResult[&quot;$i&quot;].Values |
           ForEach-Object {
               Write-Output $_
              }
      }
  </code></pre>
  <p>But it doesn't work, could you help me</p>