For Windows System Administrator, Network troubleshooting is a part of the system troubleshooting. Maybe you need to check the IP address of a machine or test if its networking connection is working. Maybe you need to see if DNS is properly configured or check the latency between two hosts. You can run the command [cc]Get-Command […]
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 […]
Remove RDS 2016 CALS from the license server
Remove An Individual RDS CAL License Pack Using Powershell (User or Device CAL) Open PowerShell elevated as an administrator Type the following command to list the RDS Licenses to find the KeyPackID Run the below command to remove the licenses pack from your RD Server Where “X” is the value of KeyPackId P.S: Please be aware, you will […]
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 […]