Windows 10: Enable or Disable Windows PowerShell 2.0 in Windows 10

Discus and support Enable or Disable Windows PowerShell 2.0 in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Enable or Disable Windows PowerShell 2.0 in Windows 10 How to Enable or Disable Windows PowerShell 2.0 in Windows 10 Windows PowerShell... Discussion in 'Windows 10 Tutorials' started by Brink, Dec 15, 2017.

  1. Brink
    Brink New Member

    Enable or Disable Windows PowerShell 2.0 in Windows 10


    How to: Enable or Disable Windows PowerShell 2.0 in Windows 10

    How to Enable or Disable Windows PowerShell 2.0 in Windows 10


    Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

    Windows 10 includes Windows PowerShell 5.0 by default that has some great new features that enhance security including enhanced transcription logging and AMSI protection.

    However, the Windows PowerShell 2.0 engine is still enabled and is now recognized as a security risk that can be used to run malicious scripts.

    While Windows PowerShell 2.0 has been deprecated starting with Windows 10 Fall Creators Update, it may still be enabled on your system.

    For more details about Windows PowerShell, see:
    This tutorial will show you how to enable or disable Windows PowerShell 2.0 for all users in Windows 10.

    You must be signed in as an administrator to enable or disable Windows PowerShell 2.0.



    Contents
    • Option One: Enable or Disable Windows PowerShell 2.0 in Windows Features
    • Option Two: Enable or Disable Windows PowerShell 2.0 in PowerShell
    • Option Three: Enable or Disable Windows PowerShell 2.0 in Command Prompt





    OPTION ONE [/i] Enable or Disable Windows PowerShell 2.0 in Windows Features
    1 Open the Control Panel (icons view), and click/tap on the Programs and Features icon.

    2 Click/tap on the Turn Windows features on or off link on the left side. (see screenshot below)

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    3 Check (enable - default) or uncheck the Windows PowerShell 2.0 box for what you want, and click/tap on OK. (see screenshots below)

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    4 Click/tap on Close when it has finished. (see screenshot below)

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    5 You can now close Programs and Features if you like.





    OPTION TWO [/i] Enable or Disable Windows PowerShell 2.0 in PowerShell
    1 Open an elevated PowerShell.

    2 Do step 3 (check), step 4 (enable), or step 5 (disable) below for what you want to do.


    3. To Check Current State (Enabled or Disabled) of Windows PowerShell 2.0
    A) Copy and paste the command below into the elevated PowerShell, and press enter. (see screenshots below)
    Get-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2
    B) You will now see the current State show as Enabled or Disabled.


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]


    4. To Enable Windows PowerShell 2.0
    This is the default setting.

    A) Copy and paste the command below into the elevated PowerShell, and press enter. (see screenshot below)

    Enable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]


    5. To Disable Windows PowerShell 2.0
    A) Copy and paste the command below into the elevated PowerShell, and press enter. (see screenshot below)

    Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    6 You can now close the elevated PowerShell if you like.





    OPTION THREE [/i] Enable or Disable Windows PowerShell 2.0 in Command Prompt
    1 Open an elevated PowerShell.

    2 Do step 3 (check), step 4 (enable), or step 5 (disable) below for what you want to do.


    3. To Check Current State (Enabled or Disabled) of Windows PowerShell 2.0
    A) Copy and paste the command below into the elevated command prompt, and press enter. (see screenshots below)
    DISM /online /get-features /format:table | find "MicrosoftWindowsPowerShellV2Root"
    B) You will now see the current state show as Enabled or Disabled.


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]


    4. To Enable Windows PowerShell 2.0
    This is the default setting.

    A) Copy and paste the command below into the elevated command prompt, and press enter. (see screenshot below)

    Dism /online /Enable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" -All


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]


    5. To Disable Windows PowerShell 2.0
    A) Copy and paste the command below into the elevated command prompt, and press enter. (see screenshot below)

    Dism /online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root"


    Enable or Disable Windows PowerShell 2.0 in Windows 10 [​IMG]

    6 You can now close the elevated command prompt if you like.

    That's it,
    Shawn


    Related Tutorials

    :)
     
    Brink, Dec 15, 2017
    #1
  2. Ahhzz Win User

    Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK


    credit to Lifehacker.
     
    Ahhzz, Oct 27, 2019
    #2
  3. OneMoar Win User
    Windows 10 Tweaks

    @W1zzard looks like the hashing/version is different on some systems
    this syntax works better
    powershell "Get-AppxPackage *3d* | Remove-AppxPackage"
    powershell "Get-AppxPackage *bing* | Remove-AppxPackage"
    powershell "Get-AppxPackage *solit* | Remove-AppxPackage"
    powershell "Get-AppxPackage *people* | Remove-AppxPackage"
    powershell "Get-AppxPackage *zune* | Remove-AppxPackage"
    powershell "Get-AppxPackage *photos* | Remove-AppxPackage"
    powershell "Get-AppxPackage *phone* | Remove-AppxPackage"
    powershell "Get-AppxPackage *communi* | Remove-AppxPackage"
    someone already compiled all the tweaks listed into a handy choice driven .cmd file
    you can get that from here
    [Script] Windows 10 TNBT (The next big Tweak) v6.5.6 -official thread-
     
    OneMoar, Oct 27, 2019
    #3
  4. Anixx Win User

    Enable or Disable Windows PowerShell 2.0 in Windows 10

    Reversibly enable and disable Windows Classic theme using PowerShell

    Here is a method which allows to enable and disable Classic Theme during one session from the command line. Tested on Windows 8.1.
    Enabling or disabling the Classic theme affects only programs started after the change. This method is different from other methods in that it is reversible: one can multiple times enable and disable theming via a task, shortcut or a bat file.


    Steps:


    1. Install PowerShell 6:


    github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x64.msi


    github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x86.msi


    2. Run PowerShell 6 and type:


    Install-Module -Name NtObjectManager


    3. Now you can enable and disable Classic Theme.


    To enable, open elevated command prompt and type:
    Code:
    To disable, open elevated command prompt and type:
    Code:
     
    Anixx, Oct 27, 2019
    #4
  5. BigMack70 Win User
    Windows 8.1, and Why You Should Let Go of Windows 7

    Wait wait wait I can do it in 3 steps

    Diasble Metro:
    1) Don't buy Windows 8
    2) ?????
    3) Profit!
     
    BigMack70, Oct 27, 2019
    #5
  6. AsRock Win User
    Windows 10 Tweaks

    I will have to agree, as when i upgraded the fixes work and now i am using a clean install none of them work except onedrive.
     
    AsRock, Oct 27, 2019
    #6
Thema:

Enable or Disable Windows PowerShell 2.0 in Windows 10

Loading...
  1. Enable or Disable Windows PowerShell 2.0 in Windows 10 - Similar Threads - Enable Disable PowerShell

  2. PowerShell script to disable/enable usb storage in windows

    in Windows 10 Gaming
    PowerShell script to disable/enable usb storage in windows: Hello,can someone please help me with a PowerShell script, which will disable usb storage.requirements:1 everything should be done through PowerShell script2 already installed usb should not be accessible 3 not ready to install any 3rd party application4 Restarting pc is not...
  3. PowerShell script to disable/enable usb storage in windows

    in Windows 10 Software and Apps
    PowerShell script to disable/enable usb storage in windows: Hello,can someone please help me with a PowerShell script, which will disable usb storage.requirements:1 everything should be done through PowerShell script2 already installed usb should not be accessible 3 not ready to install any 3rd party application4 Restarting pc is not...
  4. PowerShell script to disable/enable usb storage in windows

    in Windows 10 Drivers and Hardware
    PowerShell script to disable/enable usb storage in windows: Hello,can someone please help me with a PowerShell script, which will disable usb storage.requirements:1 everything should be done through PowerShell script2 already installed usb should not be accessible 3 not ready to install any 3rd party application4 Restarting pc is not...
  5. How to disable PowerShell in Windows 10

    in Windows 10 News
    How to disable PowerShell in Windows 10: [ATTACH]Windows 10 comes with a pre-installed PowerShell cross-platform tool. This is a very important […] This article How to disable PowerShell in Windows 10 first appeared on TheWindowsClub.com. read more...
  6. How to disable powershell in Windows 10 Home?

    in Windows 10 Support
    How to disable powershell in Windows 10 Home?: Hi, I recently purchased a new laptop and am having a difficult time disabling the powershell. *Banghead This is something that I never use and the reason I want to disable it is to prevent it from popping up when the computer is started. I have googled how to disable it, but...
  7. Reversibly enable and disable Windows Classic theme using PowerShell

    in Windows 10 Customization
    Reversibly enable and disable Windows Classic theme using PowerShell: Here is a method which allows to enable and disable Classic Theme during one session from the command line. Tested on Windows 8.1. Enabling or disabling the Classic theme affects only programs started after the change. This method is different from other methods in that it is...
  8. WINDOWS DEFENDER EXPLOIT PROTECTION POWERSHELL SCRIPTS TO ENABLE OR DISABLE PROCESS...

    in AntiVirus, Firewalls and System Security
    WINDOWS DEFENDER EXPLOIT PROTECTION POWERSHELL SCRIPTS TO ENABLE OR DISABLE PROCESS...: I am sharing some PowerShell scripts to enable migration process components at system level Just open WINDOWS POWERSHELL run as administrator and enter the following commands to enable Set-ProcessMitigation System -enable AllowStoreSignedBinaries...
  9. WINDOWS DEFENDER EXPLOIT PROTECTION POWERSHELL SCRIPTS TO ENABLE OR DISABLE PROCESS...

    in AntiVirus, Firewalls and System Security
    WINDOWS DEFENDER EXPLOIT PROTECTION POWERSHELL SCRIPTS TO ENABLE OR DISABLE PROCESS...: I am sharing some PowerShell scripts to enable migration process components at system level Just open WINDOWS POWERSHELL run as administrator and enter the following commands to enable Set-ProcessMitigation System -enable AllowStoreSignedBinaries...
  10. Enable or Disable Cortana in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Cortana in Windows 10: How to: Enable or Disable Cortana in Windows 10 How to Enable or Disable Cortana in Windows 10 Cortana is your cloud-based personal assistant that works across your devices and other Microsoft services. Depending on the capabilities of your device and the version of...

Users found this page by searching for:

  1. how to check is power 2.0 is enabled or disabled