Unable to edit with bcdedit filelds in powershell - cmd.exe command line fails
问题 Why can't I edit the description field using bcdedit in PowerShell? For example, in cmd.exe the following command: bcdedit /set {GUID} description "OS2" completes successfully, changing the description field for the specified GUID, but when I do the same thing from Powershell, I get the following error: The set command specified is not valid. Run "bcdedit /?" for command line assistance. The parameter is incorrect. Can someone explain this to me? 回答1: To pass a value enclosed in {...} as a