For those familiar with the PowerShell tool on Windows it’s now available for
RHEL/CentOS/AlmaLinux 8 and 9: https://download.sinenomine.net/powershell/. If
I knew how to build a .dpkg then I’d create it for Ubuntu as well.
It comes “as-is”, “YMMV”, “all care, no responsibility”, <insert favourite
disclaimers here>. I’ve used it to build itself but haven’t extensively tested
it.
$ pwsh
PowerShell 7.5.0-0-g713e77f15f63bae9f23fb02045c7843ad6a8769b
PS /home/neale> help
TOPIC
PowerShell Help System
SHORT DESCRIPTION
Displays help about PowerShell cmdlets and concepts.
LONG DESCRIPTION
PowerShell Help describes PowerShell cmdlets, functions, scripts, and
modules, and explains concepts, including the elements of the PowerShell
language.
:
PS /home/neale> pwd
Path
----
/home/neale
PS /home/neale>
“PowerShell is a modern command shell that includes the best features of other
popular shells. Unlike most shells that only accept and return text, PowerShell
accepts and returns .NET objects. The shell includes the following features:
- Robust command-line history
- Tab completion and command prediction
- Supports command and parameter aliases
- Pipeline for chaining commands
- In-console help system, similar to Unix man pages
“As a scripting language, PowerShell is commonly used for automating the
management of systems. It's also used to build, test, and deploy solutions,
often in CI/CD environments. PowerShell is built on the .NET Common Language
Runtime (CLR). All inputs and outputs are .NET objects. No need to parse text
output to extract information from output. The PowerShell scripting language
includes the following features:
- Extensible through functions, classes, scripts, and modules
- Extensible formatting system for easy output
- Extensible type system for creating dynamic types
- Built-in support for common data formats like CSV, JSON, and XML”
Neale
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390