PowerShell

10 posts
2026

Moving FSMO Roles

Why is it necessary to move FSMO roles? In an Active Directory environment, not all Domain Controllers (DCs) are the same. Although most …
Read more

FSMO Role Function

FSMO (Flexible Single Master Operations) roles are critical roles in an Active Directory environment that are assigned to one or more domain …
Read more
2021

VMware: Updating Windows Templates in VMware with PowerCLI

As we’ve seen in previous posts, the typical way to create new virtual machines is through templates. As administrators, we need to …
Read more

VMware: How to Create a Virtual Machine from a Template – GUI/PowerCLI

In this post, we’ll see how to create a new VM from a template. In previous posts, we saw how to create a VM from scratch; however, …
Read more

VMware: How to Convert a Virtual Machine into a Template, from GUI/PowerCLI

In this post, we’ll see how to create a virtual machine template that we can use to create other virtual machines. I recommend …
Read more

PowerShell: How to Transfer Security Groups from One User to Another

A couple of days ago, I was asked for help copying security groups from one user to a new user. While it’s true that we can perform …
Read more

PowerShell: Send email to users when password will soon expire.

In this post, we’ll see how to alert users when their domain password will soon expire. To do this, we’ll create a PowerShell …
Read more

PowerShell: Create security groups for each server, remove local administrators and add them to the new group.

Security Procedure: Local Administrator Control Some time ago, I was asked to find a method to implement certain security and control …
Read more

PowerShell: How to Create New Users in AD

The easiest way to create users in AD is undoubtedly using Active Directory Users and Computers, provided you only want to create one or two …
Read more

PowerShell: How to add all users from an OU to a security group

Sometimes it’s necessary to add all members of an Organizational Unit (OU) to a security group in Active Directory, but how can we do …
Read more