Lessons Learned

My drop-site for interesting snippets and tips. If it's useful to you as well, great!

Browse by Tags

Tagged Content List
  • Blog Post: One-Liner: Valid PSH Verbs

    I try to use proper PowerShell verbs, but I’m not always sure what they are (or what they do, which is another matter).  Here’s a quick one-liner to dump those verbs out as a [string[]]$array: Get-Command -CommandType cmdlet | Select-Object -ExpandProperty Verb | Group-Object | Select-Object -ExpandProperty...
  • Blog Post: Stupid Profile Trick: $PROFILE as Module

    I’m spending a lot of time on my $PROFILE for some reason.  Don’t tell my boss. :) Anyhow, we know that Get-Module will get you a list of modules, and Get-ChildItem Function:\ | Select-Object –Property Name, Module will show you what functions you have loaded from those modules. However, functions...
Page 1 of 1 (2 items)