title: What is "strComputer"?
body: <p>I've had to do a little VBScript recently, and many scripts that I've seen use this variable <code>strComputer</code> which, on the surface anyway, seems pointless. It's typically set to <code>"."</code>, and then used in a string concatenation like so:</p>
  
  <pre><code>strComputer = "."
  Set objWMIService = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\cimv2")
  </code></pre>
  
  <p>Why is this done, when one could simply write <code>Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")</code>? I see this all over the place and it mystifies me.</p>