I have several programs that I'd like to block from accessing the Internet. A manual (i.e. point-and-click) solution is described here.
Is there a way to do it via the command line on Windows 10?
Something like this pseudocode:
firewall --create --outbound --name "myRule" --target "C:\some\program.exe"
It could be either CMD or PowerShell.