Quantcast
Channel: PowerCLI – Virtualization, DBaaS & Whatever Crosses My Mind
Browsing all 46 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

vSphere cluster resource pool configuration script

This blog will include the technical aspect (the script) which i mentioned in the blog post vCloud Director implementation for small businesses Input parameters: 4 vSphere cluster resource pools exists...

View Article



Image may be NSFW.
Clik here to view.

ESXi host disk.terminateVMOnPDLDefault configuration using PowerCLI

I have been asked several times how to automatically configure the ESXi host file “settings” to include the configuration:  disk.terminateVMOnPDLDefault=”true” I will not explain the purpose of this...

View Article

Image may be NSFW.
Clik here to view.

Schedule PowerCLI script in Windows task scheduler

I have received a couple of questions about how to add a PowerCLI scrip to Windows task scheduler after publishing my blog post vSphere Cluster Resource Pool Configuration Script Depending on the...

View Article

Image may be NSFW.
Clik here to view.

VM per datastore PowerCLI e-mail report

I have been asked to create a monitoring script to calculate the number of virtual machines per datastore. I know there are a lot of examples in the community doing the exact same thing. This...

View Article

Image may be NSFW.
Clik here to view.

Change ESXi license using PowerCLI

A few days ago a new customer asked me to review the PowerCLI script used for the initial ESXi host configuration. The ESXi hosts are factory installed and the most recent batch of ESXi hosts were all...

View Article


Image may be NSFW.
Clik here to view.

vCloud Directory Management cluster disaster recovery

A while ago i needed to perform a vCloud Director (vCD) management cluster disaster recovery. There are four main sections in the blog post: Infrastructure – describes the infrastructure used by the...

View Article

Image may be NSFW.
Clik here to view.

ESXi host advanced configuration using PowerCLI

I was recently asked by one customer to verify the existing Bridge Protocol Data Unit (BPDU) Filter configuration for their 75+ ESXi hosts and if needed (not activated) change the default configuration...

View Article

Image may be NSFW.
Clik here to view.

Configure and report the ESXi host TSM-SSH service using PowerCLI

A customer contacted me the other day asking for a way to verify if the ESXi host TSM-SSH (SSH) service is running, and if so: Turn off the TSM-SSH service. Send an e-mail report including all ESXi...

View Article


Image may be NSFW.
Clik here to view.

Update vSphere DRS rules using PowerCLI

I was asked by one customer last week to create a script that adds virtual machines to a vSphere DRS group, “VM DRS Group”, based on virtual machine guest operating. My customer runs vSphere 5.1 and a...

View Article


Image may be NSFW.
Clik here to view.

Use PowerCLI to compare virtual machine configured and installed guest...

When i presented the result from a vSphere health check the other day my costumer was quite surprised that a few of his virtual machines had an installed guest operating system that didn’t match the...

View Article

Image may be NSFW.
Clik here to view.

Backup vSphere vNetwork Distributed Switches using PowerCLI

A few weeks ago a customer asked me how to automate the export of the vSphere vNetwork Distributed Switches (VDS) configuration. Their existing routine included to make a manual export of the VDS...

View Article

Image may be NSFW.
Clik here to view.

Backup the virtual machine configuration file (.vmx) using PowerCLI

For those of you using a backup and restore solution based on a software backup and restore client installed in each virtual machine it is a good idea to secure the virtual machine configuration file,...

View Article

Image may be NSFW.
Clik here to view.

ESXi 5.1 VMFS HeapSize configuration using PowerCLI

There are a few of my customer still running vSphere 5.1 U1 and one of them reported an issue related to the VMFS Heap Size (VMFS3.MaxHeapSizeMB) configuration a few days ago. Keep in mind that my...

View Article


Image may be NSFW.
Clik here to view.

ESXi host VMkernel.Boot.terminateVMOnPDL configuration using PowerCLI

I have already written a blog post about how you can configure the ESXi host  setting disk.terminateVMOnPDLDefault in vSphere version 5.1. You can find that blog post here. I have received a couple of...

View Article

Image may be NSFW.
Clik here to view.

Create multiple VMs using PowerCLI

A couple of days ago i received a request from a customer asking for a PowerCLI script to create VMs. There were a couple of requirements for the script. Specify the number of VMs to be created. The...

View Article


Image may be NSFW.
Clik here to view.

Create multiple VMs from existing vSphere VM using PowerCLI

I recently published the blog post “Create multiple VMs using PowerCLI” and as i mentioned in the post i thought the next request would be a PowerCLI script to create multiple VMs from an existing...

View Article

Image may be NSFW.
Clik here to view.

vSphere VM vCPU to ESXi host CPU core allocation

There has been quite a lot of discussion regarding resource utilization and resource allocation in vSphere environments lately. There are a lot of tools around doing analysis (some better than others)...

View Article


Image may be NSFW.
Clik here to view.

Upgrade ESXi 5.5 to ESXi 5.5 U1 using HP image fails

Before i start an upgrade i usually run two commands just to verify what build number my ESXi host currently uses and what image my ESXi host currently uses: vmware -v – shows the build number  esxcli...

View Article

Schedule PowerCLI script in Windows task scheduler

I have received a couple of questions about how to add a PowerCLI scrip to Windows task scheduler after publishing my blog post vSphere Cluster Resource Pool Configuration Script Depending on the...

View Article

VM per datastore PowerCLI e-mail report

I have been asked to create a monitoring script to calculate the number of virtual machines per datastore. I know there are a lot of examples in the community doing the exact same thing. This...

View Article
Browsing all 46 articles
Browse latest View live




Latest Images