Hello
Thank you for your question and reaching out.
You can list virtual machines and their GUIDs, select and copy a GUID for a specific VM:
Get-VM | Select-Object VMname, VMID
For any additional questions regarding Exam you can contact to Dedicated Microsoft Exam support using below link.
https://learn.microsoft.com/en-us/certifications/help
--If the reply is helpful, please Upvote and Accept as answer--