title: Variable range operator in PowerShell
body: <p>I am trying to use a range operator to input a series of numbers for use in a PowerShell script. Here is my code:</p>
  
  <pre><code>$computers = servername + [1-9]
  </code></pre>
  
  <p>I would like the $computers variable to iterate the 1-9 i.e., servername1, servername 2, etc. etc. Any ideas?</p>