![]() In this example, I’m going to log off the “Administrator” user. Log Off Powershell Script: Frontend Usage ![]() You can run this script as a standard Windows user, you just need to be an admin on the target. However, this is also a non-admin script. For example, if you are logged into your PC as domain\user, then you’ll need to add your user to the target computer first. Note: You will need to be an administrator on the target computer for this script to work. You might also use this command to logoff someone if you recently applied a GPO that requires the user to log off. This is a great way to log off idle users on a terminal server or kick someone off a server if they are doing something they shouldn’t be, or to fix a user-specific issue. In this guide, I’m going to show you how to remotely log off a specific user on a server or computer.
0 Comments
Leave a Reply. |