PowerShell

My first PowerGUI PowerPack: Clone-Manage-VMs

Posted on

This Clone and Manage VMs PowerPack developed in view of below features to let end users create VMs from base images, login to the cloned VMs, make changes to them and then overwrite the existing base image or same the updated VM as a new base Image. In vSphere, you’ll have two folders BaseImages: in which you’ll place all of the VMs that act as a Base Images ActiveVMs: in which all the user created cloned VMs will get placed You have option to "Connect-to-vSphere" server: which will prompt you for – "vSphere Server DNS name/IP-Address" – "vSphere Administrator user […]

Advertisements
PowerShell

Enabling Copy/Paste support for VMs on VMware via PowerCLI

Posted on

Notes: You need to have your VM restarted for these changes to take effect. This will only allow text to be copy/pasted This will NOT allow you to copy/paste files/folders I you have access to the VMs by IP (that is they are in the same or allowed networks from your PC network), then you could do either via file share/RDP protocols.  Otherwise the only way to allow copy/paste of file/folders across vSphere VMs is to create  an ISO image containing all the files that you need, upload it to the vSphere DataStore and mount that ISO as CD Image […]

PowerShell

Proof Of Concept Implementation Guide to Clone and Apply changes to VM images in VMware

Posted on

POC Scope: The goal of this POC is to evaluate automation to clone and apply changes to VM images. So that users from other teams or external customers can apply their changes directly to the VMs and save them for later use.   POC Architecture: POC is built on top of Powershell snapin called “VMware vSphere PowerCLI” for automated communications with VMware infrastructure that is hosting VMs. POC UI is developed in PowerGUI editor to simplify the communication between UI to the backend operations and presenting back their results to the user. A vanilla Windows Server 2008 R2 standalone server […]