title: PowerShell PackageManagement not found
body: <p>I'm trying to avoid having to restore my PC and get it back to where I was. I was recently going to delete a folder using <kbd>Shift</kbd>+<kbd>Del</kbd>, but without paying too close attention I hit <kbd>Shift</kbd>+<kbd>Del</kbd> on the modules folder in C:\ProgramFiles\WindowsPowerShell\Modules.</p>
  
  <p>I had re-imported PowerShellGet, PackageManagement, as well as Pester.</p>
  
  <p>I thought I was in the clear but I keep running into issues, I have to always Re-Import PowershellGet. Then I get another error.</p>
  
  <blockquote>
    <p>Get-PSRepository : The term 'PackageManagement\Get-PackageSource' is not recognized as the name of a cmdlet, function, script file.</p>
  </blockquote>
  
  <p>Even after doing <code>Import-PackageManagement</code> I still get that error. </p>
  
  <p>If I do <code>(Get-Module -List Available -Name PackageManagement).Exportedcmdlets</code> it shows that <code>Get-PackageSource</code> is there.</p>
  
  <p>I'm really not sure what I need to do to fix this.</p>
  
  <p>I have uninstalled and reintalled WMF 5.1, but the issue persists.</p>
  
  <p>I am running Windows 8.1</p>