Add D365WindowsDefenderRules - FH-Inway/d365fo.tools GitHub Wiki
Add rules to Windows Defender to enhance performance during development.
Add-D365WindowsDefenderRules [-Silent] [<CommonParameters>]
Add rules to the Windows Defender to exclude Visual Studio, D365 Batch process, D365 Sync process, XPP related processes and SQL Server processes from scans and monitoring. This will lead to performance gains because the Windows Defender stops to scan every file accessed by e.g. the MSBuild process, the cache and things around Visual Studio. Supports rules for VS 2015 and VS 2019.
Add-D365WindowsDefenderRules
This will add the most common rules to the Windows Defender as exceptions. All output will be written to the console.
Add-D365WindowsDefenderRules -Silent
This will add the most common rules to the Windows Defender as exceptions. All output will be silenced and not outputted to the console.
Instruct the cmdlet to silence the output written to the console
If set the output will be silenced, if not set, the output will be written to the console
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: DevTools, Developer, Performance
Author: Robin Kretzschmar (@darksmile92)
Author: Mötz Jensen (@Splaxi)
Author: Florian Hopfner (@FH-Inway)