Powershell script / Azure virtual desktop remoteapp -- 2

Job ID: 34616037

Budget: $10 – $30 CAD

Looking for someone to assist me to solve the following.

i need a script to check if there are any applications running and if not running terminate onedrive client.and set it as a taskschedualer