Search notes:
PowerShell: the automatic variable $this
In
class methods
,
$this
refers to the
object
that is operated on.
See also
$this
can be used with the
add-member
cmdLet
when adding member methods to an object. (See
adding a script method to an object
)
Other
automatic variables
Index