Kasraeian

vWorld

Browsing Posts tagged VMware vSphere PowerCLI

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. ##################################################### function Header { CLS Write-Host [...]

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

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

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”, [...]

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

Well, this post is all about doing some administration tasks using “VMware PowerCLI“. 1. Remote TSM (SSH) Think about conditions you’ve added 30 new hosts to your vCenter and for some reasons  you want to enable remote access (SSH) on all these hosts; there are multiple ways like: 1. Enabling this option from “DCUI” by [...]

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

Today is the first day I’m starting using VMware vSphere PowerCLI and I’ll post any script I’m writing during my study, I hope they become useful (some day). Last night we have power outage and because I’m not using UPS at home for my lab, both of my systems powered off. Today I have powered [...]

Updating "ESX 5.0" to "ESXi 5.0 Update 1"     Read More »