Upgrade Windows Server 2008 R2 to 2012 R2

by File in: How-To

Hello fellow sys admins! In the following article, we will walk through an in-place upgrade from Windows Server 2008 R2 to 2012 R2. So let us dive right in. The first step in any upgrade is to get the Installation Media. If you are using a Virtual Machine, then it’s as simple as adding the […]

VMware Script – Remove Resource Reservations

by File in: VMWare

In this article we’ll go over the following script that helps us remove resource reservations from all VMs within a VMware cluster. Here is the script that we are going to use: #Variable Declaration Param( [string]$server, [Parameter(Mandatory=$true)][string]$username, [Parameter(Mandatory=$true)][string]$password, [string]$cluster ) #Module Initialization Add-PSSnapin VMware.VimAutomation.Core #Body Connect-VIServer -Server $server -Username $username -Password $password $vms = Get-Cluster […]

Microsoft May 2018 Security Update CredSSP Issue

by File in: Fixes

I have just patched some of my Windows Server 2016 servers with the new May 2018 KB, which fixes a CredSSP vulnerability, but at the same time creates an issue when trying to RDP from a non-patched system. After I finished my workday, one of the project managers sent me a message saying RDP is […]

VMware Script – List Empty Resource Pools

by File in: VMWare

In this article we will go over a simple script that lists all the empty resource pools in a VMware Cluster. This script comes in handy and is a very nice addition to any scripting repository where there are large VMware deployments. #Variable Declaration Param( [Parameter(Mandatory=$true)][string]$server, [Parameter(Mandatory=$true)][string]$username, [Parameter(Mandatory=$true)][string]$password, [Parameter(Mandatory=$true)][string]$cluster ) #Module Initialization Add-PSSnapin VMware.VimAutomation.Core Connect-VIServer […]

Windows Azure Script – Create a New VM from an Existing VHD

by File in: Script

Hello and welcome to another tutorial on using PowerShell with Azure in order to create a new Virtual Machine resource from an existing VHD. From time to time, we might need to copy a Virtual Machine environment from our Hyper-V environment to Azure and create a new VM Instance. To complete this task we will […]

Office 365 Tenant – Get All Users List Script

by File in: Script

In this article I will present to you a small script that lets us get a list of all  users from a specific Office 365 Tenant. The Script: Import-Module AzureAutomationAuthoringToolkit $username = “migadm@titanbuckle.com” $password = ConvertTo-SecureString “Muva9659” -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential($username, $password) Connect-MsolService -Credential $creds $users = Get-MsolUser ForEach ($user in $users) { […]

How to Perform an Active Directory Install from Media (IFM)

by File in: Active Directory

The following tutorial will show us how to deploy a Domain Controller using the Install from Media option (IFM). This tutorial will also help you prepare for the 70-742 certification exam. Before we dive into the step-by-step part of this article, let’s look at the reasons why we would do an IFM install in the […]

VMware PowerCLI – Copy Port Groups Script

by File in: VMWare

In case you didn’t see my last article about automating the creation of Port Groups in an enterprise VMware environment, I highly recommend you do, since this second script is all about copying the existing Port Groups from one host to a new one. This is useful when we are adding a new host to […]

VMware PowerCLI – Create Port Groups Script

by File in: VMWare

Hello and welcome to all VMware admins. For the few of us who have an enterprise scale VMware environment with hundreds of VLANs and servers, setting up a new VLAN on all our ESXi hosts can be a daunting task. That’s why I came up with this script that will make our life easier and […]

Installing and Configuring Active Directory Domain Services on Windows Server 2016

by File in: Active Directory

This is the first of a series of step-by-step tutorials on Microsoft Active Directory. These tutorials are also geared towards the 70-742 exam and they can get you ready for the MCSA or MCSE Certification. So let us jump right in. Before we start installing the Active Directory Domain Services role on our server, we […]