title: Why do I get an error running Get-WindowsCapability in PowerShell ISE on Windows Server 2012 r2?
body: <p>I am running the PowerShell ISE on a Windows Server 2012 r2 machine.
  When I run the following:</p>
  <pre><code>Get-WindowsCapability
  </code></pre>
  <p>I get the following error:</p>
  <blockquote>
  <p>Get-WindowsCapability : The term 'Get-WindowsCapability' is not
  recognized as the name of a cmdlet, function, script file, or operable
  program. Check the spelling of  the name, or if a path was included,
  verify that the path is correct and try again. At line:1 char:1</p>
  <ul>
  <li>Get-WindowsCapability</li>
  <li>
  <pre><code>  + CategoryInfo          : ObjectNotFound: (Get-WindowsCapability:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  </li>
  </ul>
  </blockquote>
  <p>Am I missing a PowerShell package?
  How do get this feature working?</p>
  <p>Thanks, JohnB</p>