New-HTMLStatusItem #321
-
It states that this parameter is going to be depreciated, is there a new item I should be using instead of this one? I don't know of another function that offers the same functionality. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, 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>]
New-HTMLStatusItem [-Name <string>] [-Status <string>] [-FontColor <string>] [-BackgroundColor <string>] [-IconHex <string>] [<CommonParameters>]
New-HTMLStatusItem [-Name <string>] [-Status <string>] [-FontColor <string>] [-BackgroundColor <string>] [-IconSolid <string>] [<CommonParameters>]
New-HTMLStatusItem [-Name <string>] [-Status <string>] [-FontColor <string>] [-BackgroundColor <string>] [-IconRegular <string>] [<CommonParameters>]
New-HTMLStatusItem [-Name <string>] [-Status <string>] [-FontColor <string>] [-BackgroundColor <string>] [-IconBrands <string>] [<CommonParameters>] |
Beta Was this translation helpful? Give feedback.
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.