Skip to content

Instantly share code, notes, and snippets.

@mguery
mguery / keybase.md
Created September 21, 2021 20:07
Keybase

Keybase proof

I hereby claim:

  • I am mguery on github.
  • I am mguery (https://keybase.io/mguery) on keybase.
  • I have a public key ASASugYDv5cZOYOH_GtddyTN33wErXIZWG_8KZyNl_54Ggo

To claim this, I am signing this object:

@mguery
mguery / cheatsheet.ps1
Created January 11, 2022 00:16 — forked from pcgeek86/cheatsheet.ps1
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command