Try the new cross platform powershell https aka ms pscore6
You're referring to PowerShell 6, also known as PowerShell Core 6!
Yes, PowerShell 6 is a cross-platform version of PowerShell that runs on Windows, macOS, and Linux. It's designed to be compatible with PowerShell 5 and earlier versions, but with some additional features and improvements.
Here are some key features and benefits of PowerShell 6:
- Cross-platform compatibility: PowerShell 6 can run on Windows, macOS, and Linux, making it a great choice for developers and administrators who work on multiple platforms.
- Improved performance: PowerShell 6 is designed to be faster and more efficient than earlier versions of PowerShell.
- New features: PowerShell 6 includes several new features, such as:
- Support for.NET Core 2.0 and later versions
- Improved support for JSON and XML data types
- New cmdlets for working with Azure and Azure Stack
- Improved support for PowerShell modules and snap-ins
- Backward compatibility: PowerShell 6 is designed to be backward compatible with PowerShell 5 and earlier versions, so you can use your existing PowerShell scripts and modules with minimal modifications.
- Open-source: PowerShell 6 is open-source, which means that the community can contribute to its development and fix issues.
To get started with PowerShell 6, you can download the installer from the official PowerShell website: https://aka.ms/pscore6
Once you've installed PowerShell 6, you can start using it by opening a PowerShell console or running PowerShell commands in your terminal or command prompt.
Some examples of PowerShell 6 in action:
- Running a PowerShell script on a Linux machine:
powershell -File script.ps1
- Using PowerShell 6 to manage Azure resources:
Get-AzureRmResourceGroup
- Creating a new PowerShell module:
New-Module -Name MyModule -RootPath.\MyModule
Overall, PowerShell 6 is a powerful and flexible tool that can help you automate tasks, manage systems, and develop applications more efficiently.