Command

  • scripts that are only available in the Windows PowerShell environment
  • are not available in other consoles
  • e.g. Get-Help
  • naming convention: PREDEFINED_VERB-COMBINATION_OF_SPECIFIC_SINGULAR_NOUNS
    • Use Pascal Case (capitalize the first letter of verb and all terms used in the noun)
    • Use one of the predefined verb names provided by PowerShell Get-Verb MS
    • use Remove, never use Delete or Eliminate

Cmdlet

  • pronounced command-let
  • written in a compiled .NET language

Function

  • written the PowerShell language

Sources:

Related:

Tags:
PowerShell - A command-line shell and scripting language to manage Windows system and automate administrative tasks