ls Alias: | Sort-Object definition
Will's Scratch-space
Tuesday, May 22, 2012
revision to previous code
Updated that last bit down to one line, regardless of where you are working:
Monday, May 21, 2012
Okay, here we go. Not going to comment on things I'm learning as I'm learning them just yet, but I figure I'll toss in some bits of code I think are either nifty, helpful to beginners like myself, or just something to fill up some space.
First one I played around with and turned up with a somewhat helpful reference to get used to the handling of ALIAS's.
First one I played around with and turned up with a somewhat helpful reference to get used to the handling of ALIAS's.
cd Alias:
ls | Sort-Object definition
This gave me a nice reference to the current Aliases sorted by what cmdlets and functions they reference. It gave me a good idea of what's what and might come in handy if I end up adding my own aliases (not sure I will, but good to know). Example below, because why not?
CommandType Name DefinitionSo that's that. Let's see if I find some more stuff to add.
----------- ---- ----------
Alias ac Add-Content
Alias asnp Add-PSSnapIn
Alias clc Clear-Content
Alias clhy Clear-History
Alias clear Clear-Host
Alias cls Clear-Host
Alias cli Clear-Item
Alias clp Clear-ItemProperty
Alias clv Clear-Variable
Alias diff Compare-Object
Alias compare Compare-Object
Alias cvpa Convert-Path
Alias copy Copy-Item
Alias cp Copy-Item
Alias cpi Copy-Item
Throwing some stuff out there
Powershell training: Day 1
Maybe I'll toss some tidbits of stuff I've learned today. Maybe not.
Maybe I'll toss some tidbits of stuff I've learned today. Maybe not.
Subscribe to:
Posts (Atom)