PSStyle

1.1.7

This module creates the `$PSStyle` variable for versions of PowerShell that
don't have it built-in. For compatibility, the variable includes the same
nested properties that `$PSStyle` has in PowerShell 7.2 and higher. However,
the features that use some of those properties aren't available in versions of
PowerShell prior to 7.2.

The purpose is to provide the AN
This module creates the `$PSStyle` variable for versions of PowerShell that
don't have it built-in. For compatibility, the variable includes the same
nested properties that `$PSStyle` has in PowerShell 7.2 and higher. However,
the features that use some of those properties aren't available in versions of
PowerShell prior to 7.2.

The purpose is to provide the ANSI string definitions and the `FromRGB()`
methods so that you can use the same `$PSStyle` code in your profile scripts
for Windows PowerShell 5.1 and PowerShell 7.2 and higher.

This module doesn't export any commands. Only the `$PSStyle` variable is exported.

If you import the module in PowerShell 7.2 `Get-Module` shows that the module is loaded
but the module is empty. `$PSStyle` isn't exported or changed.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSStyle

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSStyle

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2022 Microsoft. All rights reserved.

Package Details

Author(s)

  • sewhee@microsoft.com

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
1.1.7 (current version) 386 12/15/2023
1.1.5 94 6/5/2023
1.1.4 9 6/3/2023
1.1.3 20 4/24/2023
1.1.2 20 1/27/2023