Hi,
I will like to create an script to open and then close a file within 2 minutes . I understand I need to setup "task schedule" to run the script. just need help in write the script to open and wait 2 minutes then, close.
so far I able to open the file by
Invoke-ItemC:\Users\Deras\Documents\testExcel.xlsx
but need help in the timer and then closing the file.
thanks !