Dug out the old Ouya from the closet. Thought I’d try this script out but getting a bunch of errors when running the command. Not sure what I’m doing wrong. 
This is the output:
ConnectYA v0.2.3
Join-Path : A parameter cannot be found that matches parameter name 'AdditionalChildPath'.
At line:578 char:61
+ ... n-Path $WorkingDir -ChildPath platform-tools -AdditionalChildPath adb
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Join-Path], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.JoinPathCommand
Join-Path : A parameter cannot be found that matches parameter name 'AdditionalChildPath'.
At line:579 char:67
+ ... ath -Path $WorkingDir -Child transcripts -AdditionalChildPath "$title ...
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Join-Path], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.JoinPathCommand
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At line:586 char:21
+ if (-not (Test-Path $adb_path)) {
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command
name, a script block, or a CommandInfo object.
At line:591 char:7
+ if (& $adb_path version) { "Found command 'adb' successfully." }
+ ~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : BadExpression
Testing OUYA connection status.
The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command
name, a script block, or a CommandInfo object.
At line:51 char:36
+ if ($match = [regex]::Match((& $adb_path devices), "\w*\d\w*").Va ...
+ ~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : BadExpression
Result: False
OH NO, your OUYA isn't recognized. Lets try a few things to get your OUYA connected.
1. Do you have it powered on?
2. Do you have it connected to your computer via the microUSB port?
Press any key when you want to test if it is connected now (or press q to quit)