Use tasklist:
C:\>tasklist
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 20 K
System 4 Services 0 1,824 K
smss.exe 312 Services 0 548 K
csrss.exe 404 Services 0 2,764 K
wininit.exe 472 Services 0 1,040 K
csrss.exe 480 Console 1 1,400 K
winlogon.exe 508 Console 1 968 K
services.exe 568 Services 0 8,304 K
lsass.exe 576 Services 0 12,176 K
svchost.exe 668 Services 0 5,196 K
svchost.exe 704 Services 0 4,512 K
svchost.exe 772 Services 0 14,360 K
LogonUI.exe 808 Console 1 15,652 K