Advertisements

Category: Windows Server 2016 PowerShell

In any operating system, you may want to uninstall or remove a device like a network card for example that may be causing issues. Launching Device Manager does not show the device and as an example you cannot rename you network card because it says the device already exists. You can run the command below […]

Advertisements
Read more

With PowerShell you can pretty much do anything. In this article we disabled Netbios using a registry key, however you can do the same using WMI and PowerShell as well as removing the tick box for Lmhosts on a Network Card. To do this, you can run the following set of commands: $NICS = Get-WmiObject […]

Read more

Here is a quick tip on firstly how to check which domain controller the FSMO roles are situated on and secondly, moving the FSMO roles with one command. To determine which server/s are holding the the FSMO roles, you can run the command below: netdom query fsmo This will output the following: Schema Master Domain […]

Read more

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

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

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 many lines in to the list. However with no SCCM and […]

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