Skip to content

New-HTMLStatusItem #321

Answered by PrzemyslawKlys
boncz92 asked this question in Q&A
May 27, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi, New-HTMLStatusItem is not deprecated. Just some parameters are.

This is because the old, very limited way. You could only choose from 3 icons (good, bad, dead) and from 5 percentages (0,10,30,70,100). This would give you limited icon and 5 colors.

At some point in time we have added all FontAwesomeIcons and the ability to use 800 colors, 800 background colors and ability to use hex if that is not enough.

In other words from 5 different parameter sets only 1st one is deprecated.

NAME
    New-HTMLStatusItem
    
SYNTAX
    New-HTMLStatusItem [-Name <string>] [-Status <string>] [-Icon {Dead | Bad | Good}] [-Percentage {0% | 10% | 30% | 70% | 100%}] [-FontColor <string>] [<CommonParameters>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@boncz92
Comment options

@PrzemyslawKlys
Comment options

@PrzemyslawKlys
Comment options

Answer selected by PrzemyslawKlys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants