For that you'd need to create a batch file like this:
@echo off
setlocal
if "%~1"=="" goto :usage
set "target=%~1"
rem grab the console session id and shadow it
for /f "tokens=3" %%a in ('qwinsta /server:%target% ^| findstr /i "console"') do (
mstsc /v:%target% /shadow:%%a /control
goto :eof
)
echo No console session found on %target%.
exit /b 2
:usage
echo Error: No hostname specified.
echo Usage: %~nx0 HOSTNAME
exit /b 1
Name it shadow.bat. Then add it to Applications within the Network Scanner app as:
cmd.exe /k C:\path\to\shadow.bat %0
This it will appear in the list of applications and you can launch it against any selected device.