Skip to content

Instantly share code, notes, and snippets.

@1RedOne
Created August 16, 2017 15:43
Show Gist options
  • Select an option

  • Save 1RedOne/f0227a703fdc101fb939699a7c633ce5 to your computer and use it in GitHub Desktop.

Select an option

Save 1RedOne/f0227a703fdc101fb939699a7c633ce5 to your computer and use it in GitHub Desktop.
InstallPowerShell.sh
# Register the Microsoft RedHat repository
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
# Install PowerShell
sudo yum install -y powershell
# Start PowerShell
powershell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment