Stop-XboxThread.ps1
function Stop-XboxThread { <# .Synopsis Stops a Thread on the Xbox as soon as possible. .Description Sends a request to the debugging subsystem that the specified thread break as soon as possible. .Example Stop-XboxThread .Parameter ThreadId The thread to stop #> param([System.Uint32]$ThreadId) ($xbdm)::DmHaltThread($ThreadId) } |