Closes all open applications, quits Microsoft Windows, and logs the current user off. This method doesn't save changes to open Word documents; however, it does prompt you to save changes to open documents in other Windows-based applications.
Syntax
expression.ExitWindows
expression Required. An expression that returns a Tasks object.