Forum Discussion
Anonymous
4 years agoYour problem is this line. It's resolving to only be "[Subject]...". I would re-evaluate your If statement. It looks like it's resolving to a null value. You might consider commenting out the if statement to see if you can just put the $_.Issuer in there.
15 hours ago, Dominique said:+ $_.Subject + $(If ($_.Subject -ne "") {"(..." + $_.Thumbprint.SubString($_.Thumbprint.length - 5, 5) + ")"} Else {"Unknown subject (" + $_.Thumbprint + ")"}) + "$_.Issuer" + "##" `
Related Content
- 6 months ago