title: Why are scripted cmdlets listed as functions?
body: <p>If I create a simple Powershell function e.g.</p>
  
  <pre><code>Function Hello {
      [CmdletBinding( )]
      Param (
          [parameter()]
          $Name
      )
      Begin{}
      Process{
          Write-Output "Hello $Name"
      }
      End{}
      }
  </code></pre>
  
  <p>then use Get-Command to list it with <code>Get-Command Hello</code>, the cmdlet is listed as 'CommandType' function. Why isn't it listed as 'CommandType' cmdlet?</p>
  
  <p>When exporting from modules I've also found I have to use FunctionsToExport instead of CmdletsToExport.</p>
  
  <p>It doesn't seem to affect the use of the functions, I'm just curious why they're listed like this.</p>