In case anybody else is looking for a way to operate SwitchBot from Windows without a hub, here is a solution I have found.
you must have a properly installed Bluetooth adapter in your PC (of course).
pair SwitchBot with Windows: tray bluetooth icon, "Add Bluetooth Device", press + button next to "Add Bluetooth or other device". Find the unknown device and pair. After pairing, SwitchBot should show up in the "Other Devices" section as "paired". Mine defaults to the name "WoHand".
Download this tool: https://github.com/sensboston/BLEConsole/releases
place the following script into a file named push.txt where you have downloaded the .exe:
format Hex open WoHand set #03 w #01 57 01 00 close
BLEConsole.exe < push.txt
from the command line should operate the button.
I am using this to create triggers in task scheduler to turn on/off a legacy amplifier when my PC goes to sleep and resumes, through pressing its standby switch.
You can also keep the device paired in the phone app, but rapid switching between Windows and the app will fail. Also keep a decent time separation between calls, otherwise BLEConsole will fail to connect.
If you want to explore all the other services SwitchBot is providing, Bluetooth LE Explorer allows doing this interactively in Windows: https://www.microsoft.com/en-us/p/bluetooth-le-explorer/9n0ztkf1qd98