status console command for Counter-Strike 2
Command status
Shows current map, players, user IDs, Steam IDs, latency, and connection details.
Shows the current map, players, user ID, and Steam ID so you can use the correct user ID with kickid or banid.