Remote management services enable you to issue commands to remote systems. These differ from remote access technologies in that remote management does not usually involve an interactive shell. Windows Remote Management (WinRM) is technology that provides an HTTP Simple Object Access Protocol (SOAP) standard for specific remote management services on Windows systems. Windows Management Instrumentation (WMI), for example, provides an interface for querying data about remote systems. The following uses WMI command-line (WMIC) to get the name of the currently logged in user of a remote system:

wmic /node: computersystem get username

There's also PowerShell remoting, which requires that the target system has the WinRM service set up to receive remote PowerShell commands. For example, to view the contents of C:\Windows\system32:

Invoke-Command -ComputerName -ScriptBlock { Get-ChildItem C:\Windows\System32 }

There's also PsExec, which uses Server Message Block (SMB) to enable you to issue commands to a remote system. For example, to run an executable in the SYSTEM account:

psexec \\ -s "C:\bad-app.exe"