PowerShell

Windows PowerShell is a shell developed by Microsoft for purposes of task automation and configuration management. This powerful shell is based on the .NET framework and it includes a command-line shell and a scripting language.

PowerShell

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

PowerShell Script: Get Certificate that will be expired soon Read More »

PowerShell

Windows PowerShell equivalents for common networking commands

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

Windows PowerShell equivalents for common networking commands Read More »

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

Migrating an existing DHCP Server to another server Read More »

PowerShell

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

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

Scroll to Top