Category: VMware vSphere 6.0

Microsoft Windows PowerShell – Get Host Architecture

You may use the following Microsoft Windows PowerShell script below to get the architecture, physical or virtual, of a Windows host on a network. <#.SYNOPSISThis script will provide the architure (physical of virtual) of a host..DESCRIPTIONThis script will provide the architure (physical of virtual) of a host..EXAMPLEsysteminfo /s $HOSTNAME | findstr /c:”Model:” /c:”Host Name”.AUTHORWritten by…


VMware PowerCLI – Power On a Virtual Machine

You may use the VMware PowerCLI cmdlet below to power on a VMware virtual machine. Start-VM -VM SERVER


VMware PowerCLI – Create a Snapshot

You may use the following VMware PowerCLI cmdlet to create a snapshot of a virtual machine (VM) in VMware. New-Snapshot -VM HOSTNAME -Name “<<>>” -Description “<<>>”


VMware PowerCLI – Exit VMware ESXi Host out of Maintenance Mode

You may use the following VMware PowerCLI script to exit a VMware ESXi host out of maintenance mode. <# .SYNOPSIS This script will exit a VMware ESXi host out of maintenance mode. .DESCRIPTION This script will exit a VMware ESXi host out of maintenance mode. .EXAMPLE Set-VMHost -VMhost HOST.DOMAIN.COM -State Connected. .AUTHOR Written by Noel…


VMware PowerCLI – Place VMware ESXi Host in Maintenance Mode

You may use the following VMware PowerCLI script to place a VMware ESXi host in maintenance mode. <# .SYNOPSIS This script will place a VMware ESXi host in maintenance mode. .DESCRIPTION This script will place a VMware ESXi host in maintenance mode. .EXAMPLE Set-VMHost -VMhost HOST.DOMAIN.COM -State Maintenance. .AUTHOR Written by Noel Enrique Alvarez on…


VMware PowerCLI – View Snapshots

You may use the following VMware PowerCLI cmdlets to view all of the snapshots managed by vCenter Server or more specifically a cluster. These are sample commands and further information and documentation may be found here. Get-VM | Get-Snapshot | Format-List Get-VM | Get-Snapshot | Format-List VM, Name, SizeGB, Created, Description Get-VM -Location “CLUSTER01” | Get-Snapshot…


VMware vCenter Server 6.0 – Verify the Status of Critical Services Locally

The script below will query the status of the service(s) specified in “C:\Scripts\VMware vCenter Server\Verify_Critical_Services.txt” on the local server. The output of the script will provide the name and status of the service(s) in a formatted list for your viewing. Additionally, it is recommended that the following services be queried as they are critical to…


VMware vSphere 6 – Create a Template

VMware includes a great solution, templates, for consistent virtual machine deployments. A template is essentially a master image of a virtual machine that typically includes a guest operating system and applications. Using templates allows you to deploy virtual machines with a consistent configuration. Additionally, below is a step list of steps for creating a template. Install the…


VMware vSphere Update Manager 6.0 – Attaching a Baseline to a VMware ESXi Host

The following is a step by step guide for attaching a vSphere Update Manager 6.0 baseline to a VMware ESXi 6.0 host. On the VMware vSphere Web Client home page select Hosts and Clusters. On the inventory tree select the VMware ESXi 6.0 host you would like to attach the baseline to. On the content…


VMware vSphere Update Manager 6.0 – Create a Dynamic Baseline

The following is a step by step guide for creating VMware vSphere Update Manager 6.0 dynamic baseline. A dynamic baseline is updated dynamically and may be used to verify that your vSphere infrastructure is up to date or out or date, regarding patches. On the vSphere Client home page under Solutions and Applications click Update Manager….