Suspend-XboxThread.ps1
function Suspend-XboxThread { <# .Synopsis Suspends execution for threads on the console. .Description Suspends execution for threads on the console. .Link Resume-XboxThread #> param( # The specific thread ID to resume [Parameter(ParameterSetName='Thread',Mandatory=$true)] [Uint32]$ThreadId ) begin { } process { switch ($psCmdlet.ParameterSetName) { Thread { $result = $xbdm::DmSuspendThread($ThreadId) } } } } |