title: How to convert string to integer in PowerShell
body: <p>I have a list of directories with numbers. I have to find the highest number and and increment it by 1 and create a new directory with that increment value. I am able to sort the below array, but I am not able to increment the last element as it is a string.</p>
  
  <p>How do I convert this below array element to an integer?</p>
  
  <pre><code>PS C:\Users\Suman\Desktop&gt; $FileList
  
  Name
  ----
  11
  2
  1
  </code></pre>