Looking for a PowerShell script to monitor in the background for a certain process,
Snario :- installation of an application deployment via SCCM
a licence process runs at the very end of the installation causing the PowerShell script to wait, I require a PowerShell script cmd to monitor for this process in the background and when this process starts the script will end it automatically. allowing the application to end with an exit code 0f 0