ExportHtml.System.Diagnostics.Process.Json
{ "Heading": "System.Diagnostics.Process", "TypeName": "System.Diagnostics.Process", "Property": [ "Handles", "NPM", "PM", "WS", "VM", "CPU", "Id", "ProcessName" ], "ColumnHeadings": { "NPM": "NPM", "Handles": "Handles", "CPU": "CPU", "VM": "VM", "PM": "PM", "Id": "Id", "ProcessName": "ProcessName", "WS": "WS" }, "GroupBy": null, "GroupByHeading": null, "ColumnBackgroundColor": { "Handles": "#switch ($columnValue) { default { write-Output \"#EE0000\"} 0 { write-Output return}} # you can also use $this, which is the current object" } } |