Members
At the beginning of this chapter, the idea of properties and methods was introduced. These are part of a set of items collectively known as members. These members are used to interact with an object. A few of the more frequently used members are NoteProperty, ScriptProperty, ScriptMethod, and Event.
What are the member types?
The list of possible member types can be viewed on MSDN, which includes a short description of each member type:
This chapter focuses on the property members Property, NoteProperty, and ScriptProperty.
The Get-Member command
The Get-Member command can be used to view the different members of an object. For example, it can be used to list the members of a process object returned by Get-Process. The automatic variable $PID holds the process ID of the current PowerShell process:
Get-Process...