title: Show logging for a vbs script
body: <p>I have a script i use for uninstalling an application</p>
  
  <pre><code>strComputer = "."
  Set objWMIService = GetObject("winmgmts:" _
      &amp; "{impersonationLevel=impersonate}!\\" _
      &amp; strComputer &amp; "\root\cimv2")
  Set colSoftware = objWMIService.ExecQuery _
    ("Select * from Win32_Product " _
        &amp; "Where Name = 'Personnel database'")
  For Each objSoftware in colSoftware
    Wscript.Echo "Name: " &amp; objSoftware.Name
    Wscript.Echo "Version: " &amp; objSoftware.Version
      objSoftware.Uninstall()
  Next
  </code></pre>
  
  <p>The problem is i don't know if the </p>
  
  <ol>
  <li><p>Has started running or has completed</p></li>
  <li><p>uninstall has completed</p></li>
  <li><p>Has completed</p></li>
  </ol>
  
  <p>Is there a way to show this in a log file or a console.</p>
  
  <p>Thanks</p>