everything-powershell.com
Windows PowerShell:- Adding windows defender exclusions - Everything-PowerShell
Here is a sample of adding an exclusion with Powershell: