Exactly right LucD (let's face it, when are you not? Image may be NSFW.
Clik here to view.)
When I saw *no* KB url link for the "description" property *in the GUI* I must have been looking at an update and not a patch. I just double checked this and it seems you're correct:
- patches "description" property contain a KB url links
- updates "description" property contains a lot more text, and just *refer* to the mysterious "Details URL" "property".
Anyway because of this it seems regex was the way to go afterall and you've saved me some time Image may be NSFW.
Clik here to view. I was quickly able to add the following into mine and it worked:
$patchKB = (Select-String "(?<url>http://[\w|\.|/]*\w{1})" -InputObject $patch.Description).Matches[0].Groups['url'].Value
I marked your answer as helpful rather than correct. Is it possible to change this?
Thanks!