Accessing Request.Disposition - Bug?

May 20, 2015 at 6:06 AM
Hi all,

I am trying to access the attribute Request.Disposition of a pending request. Funnily enough I can see the attribute if I do the following:
$pending = get-pendingrequests -CA $ca -property *

$pending | fl
Request.Disposition 9

But if I want to access it, it always fails.
$pending.Request.Disposition
It works for other attributes e.g.
$pending.PublicKeyAlgorithm
I can use it via Select-Object -Expand-Property Request.Disposition, but I am curious why I cannot access it directly :)

Thanks
Coordinator
May 20, 2015 at 1:09 PM
you have to enclose property name in quotes:
$pending."Request.Disposition"