DaveWentzel.com            All Things Data

cmdlets

cmdlets are the smallest unit of program execution in PS.  To get a list of all cmdlets installed:
get-command -CommandType cmdlet | group-object verb
 
To get a list of all nouns installed, sorted alphabetically:
get-command | group-object noun
get-command | sort-object noun
 
To get help on cmdlets:
get-command | group-object noun
get-help
 
cmdlets use a verb-noun naming convention and all nouns are singular as noted above. 
compare-object alias is "diff".  Working with Text Files
convertto-html:  converts an output stream to formatted HTML. 
 
Cmdlets that work on Items
Rename-Item
Move-Item -PassThru
Copy-Item -Recurse -Force
Remove-Item
Invoke-Item
 
 
export-CliXML  almost anything can be piped to this.  It will turn an object into an XML file
 

Add new comment