PowerShell Core Install Script
Version 0.0.1
This is a simple installation script for different versions of PowerShell Core. Initially created for Windows Server 2016 and Windows Server 2019.
- 7.0.0-preview.1: https://raw.githubusercontent.com/ozkuran/powershellcore-installation/master/win/x64/7.0.0-preview.1/psc_install.ps1
- 7.0.0-preview.2: https://raw.githubusercontent.com/ozkuran/powershellcore-installation/master/win/x64/7.0.0-preview.2/psc_install.ps1
- 7.0.0-preview.3: https://raw.githubusercontent.com/ozkuran/powershellcore-installation/master/win/x64/7.0.0-preview.3/psc_install.ps1
wget https://raw.githubusercontent.com/ozkuran/poweshellcore-installation/master/win/x64/[VERSION_TO_INSTALL]/psc_install.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force
.\psc_install.ps1
Get-ExecutionPolicy
If result is "Restricted" and application is installed status is OK. If result of the command is anything else please run this command:
Set-ExecutionPolicy -ExecutionPolicy Restricted -Force