PowerShell PowerShell (Get-Process -name notepad).Threads.id 1 (Get-Process -name notepad).Threads.id