Add to right dir

This commit is contained in:
dfinke
2016-02-29 10:24:43 -05:00
parent 8f05e9d57d
commit f04d01cd2f

View File

@@ -1,27 +0,0 @@
cls
ipmo ..\..\ImportExcel.psd1 -Force
$data = $(
New-PSItem 100 (echo test testx)
New-PSItem 200
New-PSItem 300
New-PSItem 400
New-PSItem 500
)
$file1 = "tryComparison1.xlsx"
$file2 = "tryComparison2.xlsx"
rm $file1 -ErrorAction Ignore
rm $file2 -ErrorAction Ignore
$data | Export-Excel $file1 -Show -ConditionalText $(
New-ConditionalText -ConditionalType GreaterThan 300
New-ConditionalText -ConditionalType LessThan 300 -BackgroundColor cyan
)
$data | Export-Excel $file2 -Show -ConditionalText $(
New-ConditionalText -ConditionalType GreaterThanOrEqual 275
New-ConditionalText -ConditionalType LessThanOrEqual 250 -BackgroundColor cyan
)