Other Articles
Windows PowerShell:- Adding windows defender exclusions
If you are running Exchange, you are aware that you need to exclude certain folders, processes etc. from scanning for Exchange to run optimally. Now if you have System Center Configuration Manager (SCCM) in your environment, adding exclusions is easy and you can paste...
PowerShell:- Find a ProcessID and kill the process
Ever had that windows service that will not stop and just stays in a stopping state and you cannot reboot the server. And then when you launch task manager you just cannot see it? Well, you are not alone. Let's say you have the windows update service that is just in a...
Windows PowerShell:- Check Active Directory Replication with Repadmin
Have you as an IT admin ever wanted to check the replication status of all your Active Directory Servers in 1 go instead of logging onto each one to check the status? With a simple command from PowerShell, you can do so and you can see at a glance if any of the domain...
Windows PowerShell:- Changing time on a Server
Checking and changing the source time server on a VM or host has never been easier than running a simple command to change it. Many times, VM's and hosts lose time and you end up with Services like Exchange or domain controllers out of sync and then stuff stops...
Windows PowerShell:- Shuffle DNS on a Server
In a large environment where you have hundreds of servers, imagine now having to go and manually add in more than 2 DNS servers to each of those? That will take a few days or weeks. With PowerShell you can do this and you can randomize the order or each server so that...
Windows PowerShell:- Importing modules and adding Roles and features
Importing roles and features on a windows server has never been easier. Lot's of people prefer the GUI interface but PowerShell makes your life so much easier. Firstly, for PowerShell to understand what you are trying to do, you need to have the correct module in...
Windows PowerShell:- Get Heartbeat of a HyperV Host
Tip of the day: Need to find out about the integration services of virtual machines running a hyper-v host and filter by heartbeat, you can run this simple command: get-vm -computername Host1 | Get-VMIntegrationService -Name heartbeat* Hope it helps.
Windows PowerShell:- Enable RSS on a Network Adapter
RSS abbreviated for Receive Side Scaling has value by being enabled on a Server as it betters performance. By Default, RSS is enabled on Server 2016 and 2019 but cannot be enabled on Windows Server 2008 R2 or below. On Server 2012 or R2 you can enable it using a...
Windows PowerShell:- Disable IPv6 and Tunneling with a simple command
In PowerShell, you are able to disable IPv6 on a Server using a single command as follows: reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFF /f Now you can take this a step further and also disable IPv6...
PowerShell:- Check VM Replicas using simple commands.
On a Hyper-V host, you can run a command to check the replica but you can format the data in multiple ways based on what you want to see. For example, you can run the following command below to view the replicas on a host: Get-VMReplication The command above pretty...