mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-04-26 22:45:50 +03:00
[GH-ISSUE #13] > I have re-installed powershell through windows components menu, but still got this error #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Microsoft-Activation-Scripts#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rushy-p on GitHub (Dec 14, 2020).
Original GitHub issue: https://github.com/massgravel/Microsoft-Activation-Scripts/issues/13
Something is wrong with PowerShell path in the system,
anyway for now, you can change the command to make it work.
find,
for %%i in (powershell.exe) do if "%%~$path:i"=="" (and replace it with,
if not exist "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" (Originally posted by @WindowsAddict in https://github.com/massgravel/Microsoft-Activation-Scripts/issues/2#issuecomment-695278853
@Rushy-p commented on GitHub (Dec 14, 2020):
getting this error after changing command.
@AxelEric commented on GitHub (Dec 20, 2020):
Hey there..
you also may forget about 'Windows Powershell' and install Powershell from the GitHub Powershell repo, that you can download from THIS page.
Enjoy!
AxelEric.