PowerShell is now available on Linux and Open Source.
Since last one year I have been doing regular batches on PowerShell. So moment this announcement came I thought of trying hands on it. So here are few baby steps into PowerShell on Ubuntu 14.04 VM.
Step 1 – Downloaded Package
https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.9
Step 2 – Installed Dependencies
sudo apt-get install libunwind8 libicu52
Step 3 – Installed PowerShell Package
sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
Step 4 – Launched/Entered into PowerShell Console
type Powershell at terminal
type $PSHome
type $PSVersionTable
Step 5 – Run PowerShell Commands
Get-ChildItem
Get-Process
$PROFILE
Get-ExecutionPolicy
Get-Module
Get-Command
Get-Command | Measure-Object
Get-Help
Exit
Additional Reading
You must be logged in to post a comment.