
Auf einem Computer, der ansonsten einwandfrei funktioniert, gibt es ein merkwürdiges Problem: Sie können PowerShell nur von Orten wie dem Startmenü, dem Dialogfeld „Ausführen“ oder Explorer .lnk aus ausführen. Sie können PowerShell jedoch nicht innerhalb von PowerShell ausführen.
PowerShell ist in $env:path
, das Ergebnis lautet jedoch immer noch:
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
Ich habe es ausgeführt sfc
, aber dism
ohne Ergebnis. Was ist möglicherweise mit dem System nicht in Ordnung, dass PowerShell sich selbst nicht finden kann?