Create Active Directory users with Powershell

Scope

In my test environments I always have to create a couple of users to be able to do performance or functionality tests. Powershell really helps me with this task and I just want to archive this for later.

In the next few paragraphs I show you my method to create hundreds of test users on Windows Server 2012 with Powershell.

Continue reading “Create Active Directory users with Powershell”

Advertisements

Install IIS (or any role and feature) on Windows Server 2012 with Powershell

In Windows Server 2012 -just like in the previous version – you can add IIS through the Add roles and features wizard. The GUI navigates you all the steps necessary for the installation and offers you the option to install any additional role service considering dependencies.

Add roles and features wizard
Add roles and features wizard

Continue reading “Install IIS (or any role and feature) on Windows Server 2012 with Powershell”

Manage Windows Firewall with Powershell 3

Windows Firewall is the default built in solution for packet and connection filtering in the Windows OS families. With the introduction of the new PowerShell version, they shipped a couple of commands to effectively manage this component.

Windows firewall with advanced security
Windows firewall with advanced security

Continue reading “Manage Windows Firewall with Powershell 3”