mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Added
This commit is contained in:
10
Examples/ConditionalFormatting/ConditionalText.ps1
Normal file
10
Examples/ConditionalFormatting/ConditionalText.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
$f = ".\conditionalTextFormatting.xlsx"
|
||||
rm $f -ErrorAction Ignore
|
||||
|
||||
Get-Service |
|
||||
Select Status, Name, DisplayName, ServiceName |
|
||||
Export-Excel $f -Show -AutoSize -ConditionalText $(
|
||||
New-ConditionalText stop darkred
|
||||
New-ConditionalText running darkblue
|
||||
New-ConditionalText app DarkMagenta
|
||||
)
|
||||
Reference in New Issue
Block a user