The scripts on the previous page work with the Raspberry Pi and Debian O/S.  It is possible to run them under Linux on Windows 10. There are many examples i Google on how to install Ubuntu in the WSL, Windows Subsystem Linux. This is one of them: https://www.itechguides.com/how-to-install-ubuntu-on-windows-10/

I'll try to explain how I did it.

First, check the version of WSL at a Command window.

Run the following command:
  1. wsl -l -v.
  2. You should see a report such as this, which should confirm your WSL Version. PS C:\Users\yourname> wsl -l -v NAME STATE VERSION Ubuntu-20.04 Running 2.
Set Linux Distro Version to WSL 1 or WSL 2 for new instances
  1. Open PowerShell as Administrator.
  2. To set WSL 2 as your default version for new instances, type and run: wsl --set-default-version 2 .
  3. To set WSL 1 as your default version for new instances, type and run: wsl --set-default-version 1 .

On one site I read that only version 1 can access the COM ports. 

Next copy the individual scripts on the previous page to the home/user directory in Ubuntu.

Plug in the Icom and check with Device Manger which COM port it is connected to.

Edit the scripts, changing /dev/ttyUSB0 to /dev/ttySxx.

Test with txcvr ON or OFF.

Now edit a file in Notepad, txcvr_ON.bat.

bash -c 'home/userid/txcvr ON'

Save wherever, maybe in Documents.

Test that it works by running it

Do the same for the other scripts that you want to use, setpower.sh for example.

<BACK>