PlatformIO in VSCode upload to remote CLI

In platformio.ini i will setup multiple environments to program 2 or more boards that are connected locally. Is there a way to click upload in VS code and have it do my two local boards and a remote board on remote CLI?

The project tasks contain a “General → Upload All” button that will go through each enviornment (or those defined via default_envs). However, I don’t think you can specify that a device is on the remote computer in the platformio.ini, you would have to use the ‘Remote Development → Upload’ button there.