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.


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


Leave a Reply

Your email address will not be published. Required fields are marked *