Basic Commands

  • Get-Command - Retrieves a list of all system commands
    • Can expand by searching for just a verb or noun
      • Get-Command -verb "get"
      • Get-Command -noun "service"
  • Get-Help - Explains a command (similar to UNIX man)
    • Get-Help Get-Command
    • Get-Help Get-Command -examples
    • Get-Help Get-Command -detailed
    • Get-Help Get-Command -full
    • Get-Help -?
    • May need to run Update-Help first to download help files
  • Get-ChildItem - ls/dir
    • Get-ChildItem | Where-Obect { $_.Length -gt 100kb } | Sort-Object Length
    • Get-ChildItem | Format-Table -Property Name, Length -Autosize
    • Get-ChildItem | Select-Object Name, Length

results matching ""

    No results matching ""