How to remove the team member NIC using the power shell

In most cases, we want to make LBFO teams and to assign the existing NICs to such teams. However, we may have the quite opposite need – to remove some NICs from the existing team.

We will use the power shell and this trick can be used on any Windows server, including the Core and Hyper-V versions. Let’s begin! Continue reading

Outgoing TLS settings in the IIS SMTP server

So far, we covered the general installation flow and the incoming security settings related to the IIS SMTP service. Today’s article will cover the outgoing security settings, mostly the TLS support and mail domains.

On top of that, we will see how to troubleshoot any failed email connection, while monitoring the server behaviour and reading the relevant logs.

Let’s begin! Continue reading

Adding groups using the command line

In my other post, I explained the command line method to add users on the local machine or on a domain. Defining users is only one part of the story. We usually want to add them into the groups and to organise all access permissions on the level of those groups rather than at the level of individual users.

Although we can again work using only the GUI, here is the mighty command line trick to create groups and add users inside it. Combining this method with the other steps related to the users will allow you to write powerful scripts capable to manage hundreds of individual user accounts in split second.

Let’s begin! Continue reading

Adding users from the command line

You need to add a new user on your Windows server (or maybe on the domain). How would you accomplished such task?

Sure, you can fire up the GUI tool and add one user. What would you do when you need to add 2, 5, 10 or 100 users at once?

Although you can again use the GUI tools and add them one by one, the command line magic will finish the job significantly faster and without a mistake. Not to mention that you can easily automate such tasks.

Continue reading