When it comes to command lines, your mind will most likely go to PowerShell. This neat task automation and management framework has been with PC users since the dawn of operating systems, and it continues to evolve.
PowerShell 7 is now live
The new version is available for Windows, macOS, and Linux. It sees Microsoft moving from .NET Core 2.x to 3.1 which enables enhanced backward compatibility features with existing Windows PowerShell modules thanks to the resurrection of numerous .NET Framework APIs.
Being cross-platform compatible means that the new PowerShell version is now compatible;e with all Linux distros, including Ubuntu, OpenSUSE, Fedora, Debian and others.
In an official Microsoft post, they stated that:
What does PowerShell 7 bring to the table?
The official changelog for the new PowerShell is now available, and here are the newest features to be available to the general public:
If you weren’t able to use PowerShell Core 6.x in the past because of module compatibility issues, this might be the first time you get to take advantage of some of the awesome features we already delivered since we started the Core project!
- Pipeline parallelization with ForEach-Object -Parallel
- New operators:
- Ternary operator: a ? b : c
- Pipeline chain operators: || and &&
- Null conditional operators: ?? and ??=
- A simplified and dynamic error view and Get-Error cmdlet for easier investigation of errors
- A compatibility layer that enables users to import modules in an implicit Windows PowerShell session
- Automatic new version notifications
- The ability to invoke DSC resources directly from PowerShell 7 (experimental)
You can get the latest version of PowerShell from GitHub where you can find the Windows, macOS and Linux versions.
- Ternary operator: a ? b : c
- Pipeline chain operators: || and &&
- Null conditional operators: ?? and ??=
What’s your take on the new features brought to PowerShell? Share your opinions with us and the other users in the comments section below.
If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.
Still having issues? Fix them with this tool:
SPONSORED
- microsoftMicrosoft PowerShell
Email *
Commenting as . Not you?
Comment