title: How do I create powershell 2.0 modules?
body: <p>I've heard powershell 2.0 CTP has modules, but I can't find much example code or instructions. I've read what little help there seems to be online...</p>
  
  <p>But I just keep getting "The term 'Add-Module' is not recognized as a cmdlet..." when I try and load a module.</p>
  
  <p>Any help would be gratefully received!</p>
  
  <p><strong><em>Edit</em></strong> (July 2010)
  Please note this question is based on powershell 2.0 CTP and is therefore a year and half out of date! Please see Samuel Jack's answer for help with the powershell 2.0 RTM.</p>