Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

New Post: Get-PendingRequest Additional Properties

$
0
0
I'm sure that I need to do something very simple to make this work, but I can't figure it out. If I use the Get-PendingRequest cmdlet and use -Property to add Request.RequestAttributes to the object that is returned, I am unable to reference the property later on.

For example, if I run this command:
$varRequests = Get-CertificationAuthority -Name "My CA" | Get-PendingRequest -Property "Request.requestattributes" -Filter "CertificateTemplate -eq MyTemplate"
Lets assume $varRequests contains a single object. If I then try to reference $varRequests.Request.CommonName or $varRequests.Request.RequestAttributes, I get nothing.

Any ideas on what I'm doing wrong here?

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>