I figured it out. Call the server's decrypt method. So line 12 in my snippet should look like below assuming you saved the server connection in $server:
Write-Output($server.decrypt($sq.EncryptedCommand))
However, sometimes the returned text contains a variable name. So now to figure out how to follow that to it's text....