first commit

This commit is contained in:
Blake Ridgway 2020-09-11 22:12:49 -05:00
commit e7410994a3
67 changed files with 5154 additions and 0 deletions

1
powershell-install/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
install.sh

View file

@ -0,0 +1,7 @@
# PowerShell Installation Scripts
I have included scripts from the official Microsoft documentation on installing PowerShell Core on macOS and Ubuntu Distributions.
Along with those scripts, I have also included the Third Revision of "Learn Windows PowerShell 3 in a Month Of Lunches".
Enjoy this, and make things friends!

View file

@ -0,0 +1,19 @@
#!/bin/bash
#####################################################
# Powershell Installation Script. macOS and Linux #
#####################################################
echo "Installing Homebrew"
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Install Cask"
# Install Cask
brew install caskroom/cask/brew-cask
echo "Using Cask to install Powershell"
# Install Powershell Using Cask
brew cask install powershell
read -p "The installation has completed. Use pwsh to user PowerShell"

View file

@ -0,0 +1,27 @@
#########################################
# Ubuntu PowerShell Installation Script #
# Created by Blake Ridgway #
# libicu52 Package location #
# https://debian.pkgs.org/8/debian-main-amd64/libicu52_52.1-8+deb8u7_amd64.deb.html
#########################################
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of products
sudo apt update; sudo apt upgrade
# Downloads the libicu52 dependecy
wget -q http://ftp.br.debian.org/debian/pool/main/i/icu/libicu52_52.1-8+deb8u7_amd64.deb
# Installs the libicu52 dependecy
sudo dpkg -i libicu52_52.1-8+deb8u7_amd64.deb
# Install PowerShell
sudo apt-get install -y powershell
echo "The installation has completed. Use pwsh to user PowerShell"