I saw this question in a twitter thread. And a good one it is too. My immediate reaction was: Get-Module, Get-Command, Get-Help, and Get-Member. But those are my most valuable. So what were my most USED? Turns out there’s a script for that: PS [C:\foo... Read the full text.
Anonymous
  • Sure, this is neat, but it's not 100%. It's only per session and tied to your history cache.
    If you regulalry clear your histiry, because it's just noise, or you don't want it around, then this just generates errors.

               Get-MostUsedCommands
              Get-Content : Cannot find path 'C:\Users\... Host_history.txt' because it does not exist

    So, you'll have to do this at the end of each session, the day, or never delete / clear your session(s) history.