Tag: PowerShell

Migrating an existing DHCP Server to another server

This article will provide the information on How to migrate an existing DHCP server to another DHCP server. Using NETSH command Log in to the DHCP server that you want to migrate and open Command Prompt with elevated permission. Run the following command on the Command Prompt. netsh dhcp server export c:\dhcp.txt all You can […]

Use PowerShell to add exclusion folder or file Extension on the Windows Defender

Sometimes, you need to exclude the folder or specific file extension from being scanned by Windows Defender. Below is the PowerShell command that you can use to do that : Open Windows PowerShell with elevated permissions. To exclude the specific folder (e.g C:\Folder1). Run the following command Add-MpPreference -ExclusionPath “C:\Folder1” Another case, if you want […]

Back To Top