Delete TryConditional.ps1

This commit is contained in:
Doug Finke
2015-12-17 17:32:19 -05:00
parent 8fda98519c
commit 54e8cf4c6c

View File

@@ -1,18 +0,0 @@
$xlFile = "c:\temp\testCF.xlsx"
rm $xlFile -ErrorAction Ignore
$data = Get-Process | where Company | select Company,pm,handles,name
$cfHandles = New-ConditionalFormattingIconSet `
-Address "C:C" `
-ConditionalFormat ThreeIconSet `
-IconType Flags -Reverse
$cfPM = New-ConditionalFormattingIconSet `
-Address "B:B" `
-ConditionalFormat FourIconSet `
-Reverse -IconType TrafficLights
$data |
Export-Excel -AutoSize -AutoFilter -ConditionalFormat $cfHandles, $cfPM -Path $xlFile -Show