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

Something else I would like to be able to do is dummy run the script with dummy data in $result, which might make building and testing the scripts a bit simpler (rather than have to request a new cert). I currently use VS Code as my IDE (although I am no developer :slight_smile: )