Schlagwort-Archiv: Powershell logoff user

Jul 08

Logoff User with WMI and Powershell

Hi, i want to show you a simple way to logout any user on a server or Computer.

  Source: MSDN – Win32Shutdown method of the Win32_OperatingSystem class Flags to  Logoff User with WMI and Powershell Bitmapped set of flags to shut the computer down. To force a command, add the Force flag (4) to the …

Weiter lesen »