Support for hash tables as definitions; more tests

This commit is contained in:
jhoneill
2018-09-07 13:07:40 +01:00
parent 061ae22bfe
commit f47887f7fe
7 changed files with 100 additions and 13 deletions

View File

@@ -43,7 +43,9 @@ function New-ConditionalText {
[cmdletbinding()]
param(
#[Parameter(Mandatory=$true)]
[Alias("ConditionValue")]
$Text,
[Alias("ForeGroundColor")]
[System.Drawing.Color]$ConditionalTextColor="DarkRed",
[System.Drawing.Color]$BackgroundColor="LightPink",
[String]$Range,
@@ -60,6 +62,7 @@ function New-ConditionalText {
"NextMonth", "ThisMonth", "LastMonth",
"AboveAverage", "AboveOrEqualAverage", "BelowAverage", "BelowOrEqualAverage"
)]
[Alias("RuleType")]
$ConditionalType="ContainsText"
)