Advertisements

Category: Window Server 2012 R2 PowerShell

On one of my client’s server running Windows Server 2012 R2, when you launched PowerShell it would immediately crash with the error: and this would create windows events non-stop on the server as follows: At first you think you have the famous PowerShell Virus (Poweliks) but after downloading the Symantec tool and running it, all […]

Advertisements
Read more

Recently we had a customer that wanted to turn off Netbios on all servers for all interfaces. StackOverflow had a nice script that did this with ease, here is the script: https://stackoverflow.com/questions/34387413/command-line-disable-netbios Happy scripting.

Read more

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 stopping state and […]

Read more

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

Read more

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 working. To firstly check where your […]

Read more

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

Read more

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 place. In this instance we are working with Server […]

Read more

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.

Read more

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 simple PowerShell command. First you […]

Read more

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 tunneling as well and will explain why shortly: Get-NetAdapterBinding -ComponentID “ms_tcpip6” | disable-NetAdapterBinding -ComponentID “ms_tcpip6” –PassThru […]

Read more