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 […]
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 […]
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 […]