diff --git a/TryConditional.ps1 b/TryConditional.ps1 deleted file mode 100644 index 12e863e..0000000 --- a/TryConditional.ps1 +++ /dev/null @@ -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 \ No newline at end of file