11
Pipeline & object manipulation cheatsheet
(slicker.me)
Couple of little additions that you might like.
You can expand properties using foreach-object as well. Eg
Get-childitem | foreach-object name
If you specify a method name instead of a property, it will call the method on the input object.
You can also inspect types using [typename].getmembers() to list properties and methods without having to create an instance for get-member.
Nice resource! I really like that layout. What did you use to generate the HTML?
Glad you enjoyed it! I actually wrote a small JavaScript program to convert txt to html.
PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS