Skip to main content

Users - Logoff

Summary

This script will log off a user, multiple users, or all users.

Sample Run

Sample Run 1

Setting the User parameter to this will log off the user named 'calve' and the user named 'test'.

Sample Run 2

Setting the User parameter to "All" will log off all users.

User Parameters

NameExampleRequiredDescription
User'someone', 'someoneelse', 'All'TrueThe target user, multiple users, or all users to log off the machine.

Process

  1. Determine the scope.
  2. Log off the desired user or users.