Error 'Windows PowerShell 2.0 is not installed on this computer. Install Windows PowerShell 2.0 before running the setup.' when installing CCS PowerShell Snap-in
searchcancel
Error 'Windows PowerShell 2.0 is not installed on this computer. Install Windows PowerShell 2.0 before running the setup.' when installing CCS PowerShell Snap-in
book
Article ID: 279921
calendar_today
Updated On: 02-28-2024
Products
Control Compliance SuiteControl Compliance Suite Standards ModuleControl Compliance Suite Standards Server
Issue/Introduction
When installing the CCS PowerShell snap-ins, you get the following error:
Windows PowerShell 2.0 is not installed on this computer. Install Windows PowerShell 2.0 before running the setup.
Environment
CCS 12.6.x Application Server
Cause
PowerShell 2.0 Engine has not been enabled on the server
Resolution
How to enable PowerShell 2.0 on a Windows server:
In the Windows Server Manager, from the Manage menu in the top right, select Add Roles and Features
On the Installation Type page, select Role-based or feature-based installation.
On the Select Features section, expand the Windows PowerShell (Installed) node and check Windows PowerShell 2.0 Engine
Click Next until the PowerShell Engine 2.0 is installed.
NOTE: You may have to enable PowerShell 2.0 Engine in PowerShell by running the following command. Make sure you run PowerShell window as Administrator to run the command below.