CmdID

CmdID / PowerShell / Cmdlets / Save

Save-ShieldedVMRecoveryKey

Extracts the encrypted BitLocker recovery key from a shielded virtual machine's operating system disk. Windows Server PowerShell reference

From the Windows Server PowerShell reference 6 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

6 in the Windows Server PowerShell reference
-DiskNumberIdentifier for the mounted disk containing the OS partition of a Windows shielded VM
-ForceOverwrites the encrypted recovery key file located at the specified path
-PathLocation to save the encrypted recovery key
-VHDPathLocation of the VHDX file for a Windows shielded VM to be searched for an encrypted recovery key
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.