Is there any PowerShell script for logging out office account(not license account)?

New Contributor

Hi all! Since I have no experience on coding, can PowerShell log out office apps account (Word, Excel, PowerPoint, Outlook) but does not affect the license account?



We have a windows 10 in meeting room, and Office app associated by an IT account with E3 license. But many users always log in office account (word, outlook, etc.) and forgot to log out. Thus, we want to have a script that the windows can run automatically to log out all office account when every time it start. (The script should only log out users account without affect the E3 license account)


Thanks for the help!!!

0 Replies