title: Script Versioning
body: <p>I am working on a very large script and I stumbled across one issue already, how can I version the scripts? (ex) superscript.ps1 is on version 2 but if a user is using version 1 of the script it will notify them during the initialization of the script. </p>
  
  <p>basically I can't restrict where they are pulling it from, so I thought about keeping a "CurrentVersion" File on one of our servers and keep the version number in it but how could I get the running script to check that file and error out?</p>
  
  <pre><code>CurrentVersion.txt
  superscript1, 2.0
  superscript2, 2.5
  script1, 10.2
  </code></pre>
  
  <p>I just can't find what would be a plausible way of actually implementing something like this, any help or pointing in the right direction would be appreciated.</p>