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

Configure Static IP Address on a Network Adapter using PowerShell

by File in: How-To

In this tutorial, I am going to show you how to configure a static IP address on a system that has one network card through PowerShell. This can come in handy when we have many servers that we are deploying and we would like to automate the IP addressing based on an Excel spreadsheet, for […]

Simple Citrix XenApp Install and Deployment – Step-by-Step

by File in: How-To

Hello fellow sysadmins and techies! I recently had a request from a client of mine to deploy a Citrix XenApp environment on a budget. What does on a budget mean? We all know, one small server, that should host all of the components, with no need for high-availability or load balancing. So as a part-time […]

How to Expand VMware ESXi Datastore Capacity

by File in: VMWare

After setting up a new installation of ESXi on my refurbished Dell PowerEdge server, I realized that the datastore was only using two of the six SAS drives installed on the system. This was because two of the drives were in a RAID 1 configuration and the other four drives were in a RAID 5 […]