New
#21
Sure is.
I like the shorthand form: simply the word Help instead of Get-Help.
when I was first starting, I found this useful (and still do):
dir alias: | select definition, name | sort definition | ft -auto
Sure is.
I like the shorthand form: simply the word Help instead of Get-Help.
when I was first starting, I found this useful (and still do):
dir alias: | select definition, name | sort definition | ft -auto
My first one-liner. Parses the path environment variable, saves to a file, opens notepad then deletes when done.
This is fun!Code:$Ztempfile = $env:temp + "\ParsePathData"; Get-Content -path env:path|% {$_.split(";")} | Out-File -filepath $Ztempfile; notepad $Ztempfile | Out-Null; del $Ztempfile
gives you list of aliases and the corresponding cmdlets.
Problem I ran across at first that I did not know that ft was an alias for format-table or
that % for the for-object cmdlet and ? for the where-object.