Accessing BCDBoot.exe from PowerShell


This one was driving me crazy for a little while…

The term 'bcdboot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:8
+ bcdboot <<<<
    + CategoryInfo          : ObjectNotFound: (bcdboot:String) [], CommandNotFoundException

I wondered whether it was the case with all System32 binaries and security, so some Googling turned up:

So if you would like to access bcdboot from PowerShell, and for my current script I definitely do, then you can use:



Irritating, but a relief to find its possible. Happy hacking.

blog comments powered by Disqus