07-02-2020 12:29 AM
07-07-2020 07:24 AM - edited 07-07-2020 07:25 AM
Hi @Sekhar7590, you can save the below script in a .ps1 file and run it. This spits the output to a html file and highlights all processes which are running for more than 5 hours in red.
Hope this helps.