PowerShell access private fields and properties

Using the poke module it is possible to access private and internal fields of objects you would otherwise not be able to.

Example:

# peek at a Job instance using pipeline syntax
$job = start-job { 42 } | peek
$job | get-member

LINK

Leave a Reply

Your email address will not be published.