Jump to content

Recommended Posts

Posted

Hi,

I'm looking for a script to log of all users logged on to the computer. I've found some scripts online, but these seem not to work when send by pulseway. Does anyone have a solution.

Kind regards,
Alwin

  • Administrators
Posted

Hi Alwin,

Try using this PowerShell line to see if it also logs off RDS users:

(gwmi win32_operatingsystem).Win32Shutdown(4)

-Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...