mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-22 03:03:23 +00:00
Updated
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
$f = ".\conditionalTextFormatting.xlsx"
|
$file = ".\conditionalTextFormatting.xlsx"
|
||||||
rm $f -ErrorAction Ignore
|
rm $file -ErrorAction Ignore
|
||||||
|
|
||||||
Get-Service |
|
Get-Service |
|
||||||
Select Status, Name, DisplayName, ServiceName |
|
Select Status, Name, DisplayName, ServiceName |
|
||||||
Export-Excel $f -Show -AutoSize -ConditionalText $(
|
Export-Excel $file -Show -AutoSize -AutoFilter -ConditionalText $(
|
||||||
New-ConditionalText stop darkred
|
New-ConditionalText stop
|
||||||
New-ConditionalText running darkblue
|
New-ConditionalText runn darkblue cyan
|
||||||
New-ConditionalText app DarkMagenta
|
New-ConditionalText -ConditionalType EndsWith svc wheat green
|
||||||
|
New-ConditionalText -ConditionalType BeginsWith windows darkgreen wheat
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user