PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and the associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on 18 August 2016 with the introduction of PowerShell Core. The former is built on the .NET Framework, the latter on .NET Core.

PowerShell 7.2 was released on December 15, 2020 to GitHub. PowerShell 7.2 comes with $PSStyle automatic variable for ANSI rendering which can be seen in the screenshot below. It means that when working with the terminal, you now have color and text effects to help the content that you are focusing on stand out more.

You can use multiple ANSI escape sequences together. In this example, I’ve set warning messages to have bold and italicized yellow text on a magenta background:

There are also FromRgb() methods available to make use of full 24-bit color if your terminal supports it:

SHA256 Hashes of the release artifacts

  • powershell-7.2.0-preview.2-linux-alpine-x64.tar.gz
    • 5B590BFC0CF59030DD4DE216139052F66AEB870CDD8A479562504A6630399D28
  • powershell-7.2.0-preview.2-linux-arm32.tar.gz
    • 2B6FB132389E221F404E130DAF90F808F31CDF1D681DB744E19FD3879F495CBC
  • powershell-7.2.0-preview.2-linux-arm64.tar.gz
    • 55BE80A8C58BAFF3515E543BD739BC7FCA3D917A3BA9AF0E22435DF365F20F24
  • powershell-7.2.0-preview.2-linux-x64.tar.gz
    • 983CBF0EBD3859E5250E8FACDB13C0D51B3604E9115CA3DE674313E0550A049B
  • powershell-7.2.0-preview.2-linux-x64-fxdependent.tar.gz
    • 9E9109199221E2871034479F94111B5D365216BBC690D5FADB2B084B0EFC2973
  • powershell-7.2.0-preview.2-osx-x64.pkg
    • BBE8CA1FFE84DEA2F20CF0C927238500565065233DC9FFCB950B9AEB744A97FC
  • powershell-7.2.0-preview.2-osx-x64.tar.gz
    • 5D6EAC578483A5927CAF0B1E94A424220423003B67596D1D5F4AE2962A400609
  • PowerShell-7.2.0-preview.2-win-arm32.zip
    • 6F53B9E27763ED6F765DAF66C845563378960DCBEB6E0977603D43B3569D39E5
  • PowerShell-7.2.0-preview.2-win-arm64.zip
    • A277599D398CC67EBCD0FE03B78FF196594763DFD94ADE85D2B3CD4587B179F1
  • PowerShell-7.2.0-preview.2-win-fxdependent.zip
    • C5C9902C4246D7F5FCD7D2EFF3610FA52CBAAA7599B45C1BD2244232985B5F34
  • PowerShell-7.2.0-preview.2-win-fxdependentWinDesktop.zip
    • 86BBE3DBB65245AACEDDC3B4818DC198946110CE4C36FA092282319BC90A2B51
  • PowerShell-7.2.0-preview.2-win-x64.msi
    • 4B4C316A5A8F017A0D8AA6B914F32FBA30284BA098EED1AC93990B962CE16029
  • PowerShell-7.2.0-preview.2-win-x64.zip
    • 20EC871E04D97E74214241D54D9805A41C738D8DDA09B5C91E951FCF52E2DC00
  • PowerShell-7.2.0-preview.2-win-x86.msi
    • A3332DDE1B2187A85F9FFBFA32769A77819722B9A310B502F132276D10EB8525
  • PowerShell-7.2.0-preview.2-win-x86.zip
    • 510C6A62B9EB86476E716FD9C592DC7E5FD7D48297A9B43412595A6640AFE624
  • powershell-preview_7.2.0-preview.2-1.debian.10_amd64.deb
    • 308CAA1A2E4B3AF9F0F10ECB79C6ED72F7FF346FC69ADC671B9B28D9AEB219CF
  • powershell-preview_7.2.0-preview.2-1.debian.11_amd64.deb
    • 35CB3809F6575C224E8C299A928BAA7B1F382044D1E75835B05C499CEEDC052C
  • powershell-preview_7.2.0-preview.2-1.debian.9_amd64.deb
    • 60907CE051436E0D2ECFCB2AC93E68761591CE3E284362E6348BB7F8339E767F
  • powershell-preview_7.2.0-preview.2-1.ubuntu.16.04_amd64.deb
    • 0AE9F8B699EA75DB7B712A4AF638A90DE3A36D133A5AF9AB567BAD105F3D438E
  • powershell-preview_7.2.0-preview.2-1.ubuntu.18.04_amd64.deb
    • BD47DF9F6BDE4ECE26C4C702CE2CBB35932D4989E5FF8535A618215E0E22A68F
  • powershell-preview_7.2.0-preview.2-1.ubuntu.20.04_amd64.deb
    • 6196BA4EBCC16E66D20A6CF31D103898168EDD2A32E11B8F79D149A95021BD23
  • powershell-preview-7.2.0_preview.2-1.centos.8.x86_64.rpm
    • EF8F95DF5B6525F45DD996CF8331A5B98DD78C70910C4110EF704C6316E56CCA
  • powershell-preview-7.2.0_preview.2-1.rhel.7.x86_64.rpm
    • EAB62EB66240B1CD91C8303CEB4319C69427407B7F6451B36D3734977250BEA5

Downloads

Related Articles