PowerShell: Object Type, Properties, Methods

By Xah Lee. Date: . Last updated: .

Everything is Object

PowerShell commands input (parameter args) and output are all dotnet objects. Each object has a type, and members (“member” means properties and methods.).

PowerShell help dir 2021-05-25 ZY62f
help dir, showing types of its input and output.
PowerShell help dir 2021-09-09
help dir output, showing the types of paramater args.

PowerShell: Object and Type