Reinstall Powershell

Anonymous
2018-04-13T23:19:10+00:00

Is there any way to reinstall Powershell and its modules?

Powershell partially works except when I try to use any Powershellget commands.  I would like to reinstall powershell.

on Windows 10

Windows Server Remote and virtual desktops PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2018-04-13T23:32:39+00:00

    Press Windows key + R

    Type: optionalfeatures.exe

    Hit Enter

    Scroll down and locate the Windows PowerShell entry.

    Uncheck the PowerShell feature.

    Save and apply your changes.

    Restart your Windows 10 computer.

    Afterwards, repeat the steps from above and re-enable the Windows PowerShell feature.

    110 people found this answer helpful.
    0 comments No comments