Is it possible in PowerShell to get the previously created certificate serial number after requesting a new certificate?

Hmm, there is also a key ID that is slightly longer:

"key_id": "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"