How to Install PowerShell Core and PowerCLI on Windows 10

Photo by luis gomes on Pexels.com

Hello everyone, today we are going to install PowerShell Core on Windows 10. For some of you may think what is PowerShell Core? By it’s definition, PowerShell is a task-based command-line shell and scripting language; it is designed specifically for system administrators and power-users, to rapidly automate the administration of multiple operating systems (Linux, macOS, Unix, and Windows) and the processes related to the applications that run on those operating systems.

PowerShell is an open source project and the source code is available in GitHub. On this example, I am going to install PowerShell Core on my Windows 10. In the future, I am planning to work with some PowerShell Script for my VMware Hypervisor projects.

Steps to Install PowerShell Core on Windows 10

To Install do the following:

  1. Download the Setup file. Select the correct Windows edition from the list.
  2. Double click the exe file
  3. Follow on screen installation wizard
  4. Run PowerShell Core
powershell core.png
PowerShell Core on Windows 10

Install PowerCLI on Windows 10

 

After installing PowerShell Core, I am going to install the PowerCLI 10.0. PowerCLI is a collection of Windows Powershell modules which are used to manage and maintain a VMware virtual environment.

To install do the following:

  1. Open PowerShell Core as Administrator
  2. Type the following command:
    Install-Module VMware.PowerCLI
  3. Type “Y” to accept.
    install powercli.png
  4. Verify the installation
    Get-Module -ListAvailable -Name VMware*

    powercli verification.png

Done. Now you have installed PowerShell Core and also PowerCLI. Thanks for reading.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.