If you enable the Windows Firewall or if there is an external Firewall for your Active Directory Domain Services (ADDS) in this case Domain Controller Server, you need to set up the allowed port for Domain Controller corectly. The table below will show you all ports that needed for domain controller. TCP and UDP 389 […]
PowerShell script is not digitally signed
When you try to run a PowerShell script that has not been signed by Trusted Publisher, you may get the following security error. <PowerShell Script file> is not digitally signed. You cannot runthis script on the current system. For more information about running scripts and setting execution policy, seeabout_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. How to resolve the […]
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 […]