title: How to Access Custom PowerShell 5.0 Classes from a separate ps1 file
body: <p>I created a class in a ps1 file that works just fine IN the ps1 file itself.  I can run various tests with the class and the tests in the same file.</p>
  
  <p>My trouble is I don't seem to be able to find a way to put my Class in one file and the Class Usage code in another.</p>
  
  <p>With functions, you can just dot source them to bring any external ps1 files into your current script.  It looks like Classes for Powershell do not work this way.</p>
  
  <p>How can I organize code to keep classes in separate files from the executing script?</p>
  
  <p>Do I have to use modules?  How do I do that?</p>