
1 台のコンピューターでは、それ以外は正常に動作していますが、奇妙な問題が発生しています。PowerShell は [スタート] メニュー、[ファイル名を指定して実行] ダイアログ、エクスプローラー .lnk などの場所からしか実行できませんが、PowerShell 内で PowerShell フォームを実行することはできません。
PowerShell は です$env:path
が、結果は次のようになります:
PS C:\Users\Laptop> powershell
powershell : The term 'powershell' 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 tha
t the path is correct and try again.
At line:1 char:1
+ powershell
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (powershell:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
実行しましたsfc
が、dism
結果はありませんでした。PowerShell が自分自身を見つけられないのは、システムに何が問題があるのでしょうか?