Home > LAN, Palo Alto, Windows > WMI probe to obtain a username of a person logged on a remote PC

WMI probe to obtain a username of a person logged on a remote PC

Useful when troubleshooting UserID on Palo Alto (and, to be honest, in many other cases these days when NetBIOS is not such a common thing anymore):

wmic /node:<remotecomputer> computersystem get username

To perform this query you need to have permissions to read the CIMV2 namespace on the remote system.

Advertisements
Categories: LAN, Palo Alto, Windows Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: