Powershell has a lot of tricks up their sleeve and one is to simply block a website or domain from Windows Defender Firewall.
If this is an option that you are considering here are the steps to make it happen.
Link
If this is an option that you are considering here are the steps to make it happen.
Link