Category: PowerShell

Enable PowerShell Remoting

The Windows PowerShell remoting features are supported by the WS-Management protocol and the Windows Remote Management (WinRM) service that implements WS-Management in Windows. Computers running Windows 7 and later include WinRM 2.0 or later. On computers running earlier versions of Windows, you need to install WinRM 2.0 or later as appropriate and if supported. To […]

PowerShell Script: Get Certificate that will be expired soon

I’m back. Yeah, almost 5 weeks I haven’t written something here. This time, I’ve created a PowerShell script that will notify you if there is an SSL Certificate that will expire in days remaining. This script is actually modification script from here. I’ve also uploaded the script on my Github Repo. Below is the complete […]

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