how find out currently logged on user on a remote computer using powershell

Powershell is windows console administration tool that helps you administrate your windows inveroment easily.

Execute the command below in powersheel to findout who is logged in to a remote computer using your computer.

Get-WMIObject -class Win32_ComputerSystem -ComputerName [RemoteComputerName] | select username – change the [RemoteComputerName] to actual computer name

Publisher: abdirahman isse

Share this post