Tag: Using VMware PowerCLI

Mass Hard Disk Creator (Ver 0.1)

Think about scenario which two or more hard disks should be created and added to a specific VM(s); there are multiple ways like using GUI (vSphere Client) or PowerCLI.   😉 If normal GUI (vSphere Client) going to be use, it would be a time-consuming process but when trying to do it with PowerCLI (automated […]

Updated: November 24, 2016 — 8:52 PM

PowerCLI and Networking

In this post I’d try to demonstrate the usage of “VMware PowerCLI” in case of working in some network area, for more clear, I’d create new “Virtual Machine Port Group” and then would add new vNIC to VMs and connect them to the newly created “Port Group”. Step 1 – Creating new “Port Group” First […]

Updated: November 24, 2016 — 9:05 PM

PowerCLI on Server Core

It’s possible and so easy to install “VMware PowerCLI” on the full edition of “Microsoft Windows (Client/Server)” (with GUI) but what about “Windows Server Core Edition”? I’ve tried to install it on “Microsoft Windows Server 2012 Core” and here I’m listing some little points needed to take care of. First of all, “VMware PowerCLI” needs “.NET […]

Updated: November 24, 2016 — 8:59 PM

Using VMware PowerCLI (#007) – Remote PowerCLI

I’m working on new SMB project which need running application remotely and I thought it’s good time to work on “Microsoft Remote Desktop Service” on “Windows Server 2008 R2 SP1”. In this case, server should be configured in a way to present application for remote access and here I came up with idea of presenting […]

Updated: June 5, 2012 — 1:33 AM

Using VMware PowerCLI (#006) – Deploy Template (v0.4)

I’ve edited “DTS (v0.3)” so it can generate “.csv” and accept input from “.csv” file as well. Feel free to send your comment and idea and if you find any bug/problem in this script please let me know, I hope this version can do better work and be useful. [wpdm_file id=8]

Updated: May 18, 2012 — 2:40 PM

Using VMware PowerCLI (#005) – Deploy Template (v0.3)

Thanks “nWill” for his kind comment on my previous post, I found a problem on “v0.2” and in “v0.3” I tried to fixed some problems previous script had such as not being able to work properly in environment with only one “Template, Customization Specification, Host, Resource Pool or vApp”. I’ve added some description as well as […]

Updated: May 10, 2012 — 3:57 PM

Using VMware PowerCLI (#004) – Deploy Template (v0.2)

Well, This is a second edition,enhanced or debugged version of my previous “Deploy Template” script. I tried to make it a little more user-friendly and added capability of selecting the location (Resource Pool/vApp) which user/admin can place their newly created VM(s) as well as capability of powering on VM(s) after their creation. Also this script […]

Updated: May 7, 2012 — 5:31 AM

Using VMware PowerCLI (#003) – Deploy Template

This script will help users/admins for deploying multiple VMs from one of available templates and unlike other scripts I saw so far which are file (answer file) based, this script is interactive and need and interaction of admin. In next version I’d try to add some more options like “adding to resource pool or vApp”, […]

Updated: May 5, 2012 — 4:23 AM

Using VMware PowerCLI (#002) – User Accounts

As part of my studying, in this post I’d post one little scripts which I made so far for working with user accounts on “VMware ESXi” hosts. This script will add or remove user account from all hosts connected to one “VMware vCenter” server, in next version I’d add selecting function so user can be […]

Updated: April 29, 2012 — 2:12 PM

Using VMware PowerCLI (#001)

After long absence, I’m back with some new posts which I hope they become useful one day. Code #001 (Disconnecting CD Drives): Last night, while I was looked for making some changes on my hosts in my home lab, I ran “RVTools” for checking VMs if they mounted any ISO images, so I can disconnect […]

Updated: November 28, 2011 — 11:48 PM