Powershell Not Recognized in pre-install script even though added to KBE
I used the KBE Media Manipulator (v. 4.0.0.1), and went into Configure / Modify KBE Tools, and checked the "Add Powershell" option.
But the resulting KBE, when I boot from it, and try to run a powershell script, it fails. If I drop into a "Command Line" and try to run the script (Y:\preinstall[taskID]), or just try to run PowerShell, I get the error, "'powershell' is not recognized as an internal or external command, operable program or batch file".
If I browse to X:\Windows\System32\WindowsPowerShell\v1.0, there's nothing there but a Modules directory.
Perhaps I misunderstand what "Add Powershell" means in the KBE Media Manipulator options?
Thanks!
/Kent
But the resulting KBE, when I boot from it, and try to run a powershell script, it fails. If I drop into a "Command Line" and try to run the script (Y:\preinstall[taskID]), or just try to run PowerShell, I get the error, "'powershell' is not recognized as an internal or external command, operable program or batch file".
If I browse to X:\Windows\System32\WindowsPowerShell\v1.0, there's nothing there but a Modules directory.
Perhaps I misunderstand what "Add Powershell" means in the KBE Media Manipulator options?
Thanks!
/Kent
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question