bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet,
Closed this issue · 1 comments
Hello,
The 1.0.13 (Install UI version) and 1.1904.0.36 ASDK version, after the prepare host (reboot) If i re-run the asdk-installer script it fails with this error:
PS D:\AzureStack_Installer> .\asdk-installer.ps1
Initialize environment. Please wait..bcdedit : The term 'bcdedit' is not recognized as the name of a cmdlet, function, s
cript 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 D:\AzureStack_Installer\asdk-installer.ps1:2024 char:20
-
$bootOptions = bcdedit /enum | Select-String 'path' -Context 2,1
-
~~~~~~~
- CategoryInfo : ObjectNotFound: (bcdedit:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Cannot index into a null array.
At D:\AzureStack_Installer\asdk-installer.ps1:2028 char:9
-
$bootOption | Add-Member -Type NoteProperty -Name Description ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At D:\AzureStack_Installer\asdk-installer.ps1:2029 char:9
-
$bootOption | Add-Member -Type NoteProperty -Name ID -Value ( ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Hello, found out i was running from x86 Powershell.... from x64 it works fine right now