Hi @JerryYu
Yes, this is feasible, Please check the below action in Power Automate Desktop and give your script

If you find this reply helpful, please consider giving it a LIKE AND
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION
Cheers,
Srini