How to save and Close MS Office documents with Powershell RRS feed

  • Question

  • Hi community

    I have shared computers working under an Active Directory domain, they are using an unattended account with auto login. Those computers run a script after some minutes of inactivity, that script copy all files from Desktop, Download, Documents, etc. and store in a network folder, finally those files are deleted from the computer.

    I need to update this script and the idea is to check if there are Word, Excel or PowerPoint files opened, save in a specific path with a date+hour name and after that close them.

    I've tried some options however none works. Some one have an idea how to do it? 

    Friday, June 28, 2019 4:38 PM