Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Browsing all 9071 articles
Browse latest View live

powercli: listing only linux vms with VMtools need update

Hello all Looking for a script that can list "only" the linux VMs which need VMtools to be updated  Idea is to automated email to linux admins whenever VMtools need to be updated Thank You

View Article


Export multiple items of information to a single CSV file

Hi guys, I'm trying to export information to a .csv file.  In the end I want the following information in the CSV with the following headers:Name,NumCpu,MemoryMB,Description,NetworkNameI can get all...

View Article


How to allow selected domain users to login to VMA??

hi guys, Anyone aware of any method to allow restrictive access to VMA? If I want to allow specific set of AD users to be able to login to VMA how can it be acheived? I believe creating AD security...

View Article

Image may be NSFW.
Clik here to view.

Powercli interface / tools

  Above is what i use... can we get any better tool for the interface... light & handy one...  Eg for putty.exe we use mRemoteNG

View Article

How to open vm-console through api in C#

Hi, Is it possible to open vm console through api ?In powercli , we use Open-VMConsoleWindow to perform this task.Is there a method in api through which the open vm console can be done ?please suggest...

View Article


get-vm toolsstatus and powerstate

how do I get vm tools status and the powerstate together? get-cluster "mycluster" | get-vm | % { get-view $_.id } | select Name, @{ Name="ToolsVersion"; Expression={$_.config.tools.toolsVersion}},@{...

View Article

Script to migrate cluster from one vCenter to another vCenter

Attached is a script I use to migrate an ESXi cluster from one vCenter to another.  I'll be updating the script (will add VM folder locations and attributes, more qa, root credential storage - PASSWORD...

View Article

update vmware tools check powerstate vm first

I need to update vmware tools on a bunch of vms from a txt file. But I also need to check the powerstate of the vm and then power them on before the update. So trying to work with something like this...

View Article


Help with formatting on objects

I have a script that I modified from an Alan Renouf script (Thanks for posting the script), but I'm having an issue with the output. The script is getting some details on a VMs hard disk, and here is...

View Article


PowerCLI to export host profiles from 5.5 Update 2

Hello, We have ESXI 5.5 Update 2 with standard license. I am manually applying the STIGs and we have about 10 hosts thus buying the  Enterprise plus license can't be justified to use host profiles. Is...

View Article

Help with a script used to gather information in vSphere. (Errors)

So because of the awesome help by Luc D, I was able to obtain a script that would gather some information that I needed for a report to my boss (I am an intern). Not knowing much of powershell, I am...

View Article

Image may be NSFW.
Clik here to view.

How to create Content Library from PowerCLI ?

Hello,My Name is Fred and I have a Content Library problem... I have been looking around for the set of functions in PowerCLI to perform some tasks on VMWare new feature called Content...

View Article

inventory vm harddisk

Hello I'm going crazy nowI'm trying to get some inventory from vm:s but I'm stuck at the harddisk result. I'm leaving some part out that works.... $vmname = Read-Host    "Enter name of vm" $vmresult =...

View Article


VMware vSphere PowerCLI 6.0 Release 1 build 2548067 - Get-PowerCLIVersion fails

Just installed the 6.0 version of powercli If I launch PowerCLI as administator (i.e. elevated permissions) all is fine (x64 and x32) If I launch PowerCLI as default user (i.e. Not elevated...

View Article

How can i loop until VApp is cloning

Hi AllThe following code I copy a vApp successfully Param([Parameter(Mandatory=$true)][string]$UserName, [Parameter(Mandatory=$true)][string]$MasterImage,...

View Article


How to find when I have add a new hdd to an existing vm??

I have one doubt. Suppose a scenario like I have added an extra hdd to a vm 2 months before. Now I want to know when I have added and the capacity of the added hdd , I have pulled the events from 3...

View Article

vCheck asking for credentials with vCenter Appliance

Hello, I am currently building a new environment using vSphere 6. I installed a vCenter Appliance 6. I want to use my good old daily vCheck from Alan Renouf (latest version available). When I run it...

View Article


Image may be NSFW.
Clik here to view.

Output VM directory, filenames and sizes

Hi, I am trying to get a listing of all Virtual Machine directories and the file names and the file sizes.I have found scripts that would list the machine names and disks (i.e. C, D) of the guest but...

View Article

Script to get Cluster wise CPU and Memory Suage

Hi All,Not sure if already such script exists, I am looking for the script where i can get Cluster wise CPU and Memory usage (available CPU and Memory if possible) report in excel or html. These is...

View Article

Loop through CSV file

Hi, I have 5 VMs within a folder in vCenter which I would like to make some changes to. I have these VMs stored in an array called $vms. I also have a CSV file stored in $csvImport which is in the...

View Article
Browsing all 9071 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>