title: Write-Host and Log on one line?
body: <p>I'm very new to PowerShell, and self-teaching myself it at that.  My question is can you have 'write-host' and 'log-write' on the same line, to run as one action?</p>
  
  <p>What I have is this:</p>
  
  <pre><code>Write-Host "Node Id is $nodeProps["NodeID"]" 
  LogWrite "Node Id is $nodeProps["NodeID"]"
  </code></pre>
  
  <p>But I'm wondering if there is a way to do it like:</p>
  
  <pre><code>Write-Host, LogWrite "Node Id is $nodeProps["NodeID"]"
  </code></pre>
  
  <p>Thanks for any and all help!</p>