Forum Discussion
You wouldn't literally put instance3_id##instance3_name##instance3_description. And you wouldn't try to set it as a property called system.systemDescription. You need to put the issuer name between the "##" at the end of line 42 and before the "##" at the end of line 43.
When your active discovery script outputs to sdtout, you need to put it in the format <instance id>##<instance display name>##<instance description>.
It looks like your discovery script is already putting (or attempting to put) something in the description. Line 43 is your current description:
+ $_.Subject + $(If ($_.Subject -ne "") {"(..." + $_.Thumbprint.SubString($_.Thumbprint.length - 5, 5) + ")"} Else {"Unknown subject (" + $_.Thumbprint + ")"}) + "##" `
You would need to decide if you want to replace this description (which appears to come from the Subject, or if the Subject is missing, the thumbprint) with the issuer ($_.Issuer).
Related Content
- 6 months ago