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
search cancel

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 Suite Control Compliance Suite Standards Module Control 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:

  1. In the Windows Server Manager, from the Manage menu in the top right, select Add Roles and Features
  2. On the Installation Type page, select Role-based or feature-based installation.
  3. On the Select Features section, expand the Windows PowerShell (Installed) node and check Windows PowerShell 2.0 Engine

  4. 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.

Install-WindowsFeature Powershell-V2