title: PowerShell version 1.0 - Write to the event log
body: <p>We have a client with PowerShell 1.0. I know in PowerShell 2.0, I have the <code>Write-EventLog</code> <em>commandlet</em>. However, this doesn't appear in PowerShell 1.0. I want my script to log events to the event log, mainly for debugging purposes.</p>
  
  <p>How can I do this with PowerShell 1.0:? And, no I can't upgrade this computer to PowerShell 2.0. This is a customer production machine, and they don't want to touch the software on it.</p>