PowerShell on Linux
WMLUG January 2017
PowerShell on Linux
Patrick TenHoopen
PowerShell on Linux
On August 18, 2016, Microsoft announced that it
would make PowerShell open source and release
it for Linux and Mac OS using one code base
under the MIT license. It is still in an alpha stage
though.
Why Run PowerShell on Linux?
¡ñ
Language is easily readable and is selfdocumenting
¡ñ
Optimized for structured data
¡ñ
Good at "gluing" systems together
¡ñ
¡ñ
Provides an interactive shell as well as being
scriptable
Comparing PowerShell to Bash
Command Input/Output Piping
Bash uses text while PowerShell uses objects (does require that you know
the object methods and properties). PowerShell doesn¡¯t support input
redirection.
Available Commands
Bash has ~150 built-in commands and helper functions (less to learn)
compared to PowerShell's 300+ (on Windows) methods and cmdlets.
Windows System Integration
PowerShell has many cmdlets written for administering Microsoft products
while bash has none.
Integrated Scripting Environment (ISE)
PowerShell on Windows provides an integrated scripting environment.
PowerShell's Use of Objects
The output of a PowerShell command is an
object.
The object can be passed to the next command
(object pipeline) for input.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- use linux commands on windows
- run linux command on windows
- enable linux on windows 10
- linux on windows 10
- run linux commands on windows
- linux bash on windows
- run linux bash on windows
- powershell on startup disable
- disable windows powershell on startup
- linux commands on windows 10
- why use powershell on linux
- run powershell on linux