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

Image may be NSFW.
Clik here to view.

Can I find out when the last time a VM was VMotioned?

Hello all,  We are using some instances of Windows sever 2012 Standard edition which brings a limitation of being able to vMotion only every 90 days from what I read and was warned about. I am planning...

View Article


Using PowerCLi to Obtain OS Version

PowerCLi Bretheren -  I'm trying to use PowerCLi to get the actual OS version, or in the case of Linux, release. For example, I can use $vm.guest.osfullname to get the correct OS kernel but in the case...

View Article


Deploying VM's using PowerCLI on vVols

I am really struggling figuring out how to do this, I can't simply designate the vVol name in the -datastore command comes back and says no such datastore.  I can't simply apply a storage based policy...

View Article

Clone using Templates on a host

I have a host where the vm needs to be provisioned using a template. The issues are some that chosen templates may not always exist for that host. Is there a way to check before cloning, whether the...

View Article

Having trouble with foreach loops

After a great deal of research, failed prototypes, and an excess of caffeine and nicotine, I found the commands I needed for pulling the 'ServiceTag' / 'SerialNumber' from my ESXi hosts in vSphere 5.0...

View Article


Arrays in arrays in a report.

I have looked all over and I am having a hard time finding what I need. I am fairly new to complex scripting so I am hoping someone here can help. I am trying to create a report for vms. I don't want...

View Article

Windows 10 2015 LTSB VM

I am deploying a Windows 10 2015 Enterprise LTSB VM from a template and am having issues with configuring the VM after deployment.The VM Deploys just fine but configuration thereafter is not working.I...

View Article

Image may be NSFW.
Clik here to view.

how can run a script in powercli

Dear allHi i have installed power cli 5.5 and when run it type Connect-VIServerit get server ip and user pass and connect to server when run get-vm command it show my vm info but now i want show date...

View Article


script changecore per Soket and memory

Hello friendsI have a number of servers 63I have to change their number of core per Soket and memory Does anyone have a script that can take your server list and settings I want to change?thanks very...

View Article


Image may be NSFW.
Clik here to view.

HP powershell iIo info - Generic Powershell

Hello  can someone help me get the o/p from the array in csv   === here is the code $csv= import-csv c:\temp\hp-ilo-list.csv&{foreach ($line in $csv) {     Get-HPiLONICInfo...

View Article

Image may be NSFW.
Clik here to view.

vSphere Replication monitor with PowerCLI

Hey folks, I'm looking to check, with PowerCLI, the VM status in incoming/outgoing replications (web client view: vCenter Server > Monitor > vSphere Replication)Any help out there would be very...

View Article

VMware/VIRuntime.pm in @INC

Hi, After, when i deploy my vMA and install vCLI with perl, ggc still working, but overnight I find myself with this error Can't locate VMware/VIRuntime.pm in @INC (@INC contains:...

View Article

Another Datastore Scripting Question

I need to do some storage server upgrades.  That means removing all the mapped iSCSI datastores being shared from a particular storage server. Normally I would do it manually from inside of the vSphere...

View Article


Script to clean up datastores

Hey all, I am looking for a script to to help me clean up datastores from left over files.  After vmotion sometimes the datastore leaves behind folders with only files with the exts, .hlog .nvram...

View Article

Powercli questions, showing specific connections and connecting to like names

I am trying out powercli, it has been helpful for gathering information about VM's.I have 2 questions, how do I show connected vsphere servers, I can see the hosts, but not the vsphere server itself.(I...

View Article


Optimization and speed up a script moving cluster from one vcenter to another

Hello,I have a situation and a challengeI have a cluster with 129 Vlans distributed portgroups, and I need to move this cluster to another VcenterUsing different pieces (thanks LucD and many others) I...

View Article

Enable passthrough for Graphic cards through PowerCli

HelloI'm trying to find a way to enable 2 Graphic Cards I have on the host for passthrough so I can use them in the VMsI'm familiar with the GUI way to do it and it works, but I want to include it in a...

View Article


Get vm events for duplicate VM

There are few vms in vcenter that has got duplicate vm names. In order investigate on these duplicates, I am trying to get all events from the time they were provisioned.From vSphere client, it shows...

View Article

Get-Esxtop Trying to get the same output I would get from ESXtop

First, I'm very new to PowerCLI. I've read all the Get-Esxtop blogs (Yellow bricks, hitchhikers guide, etc).  They seem way above my head. I'm trying to get the same output I would get through the...

View Article

removing VM from a resource pool after 30 days

concept: we have a policy that we hold decommissioned VM for 30 days. so I created a resource pool called decommissioned and gave it no resource. I then put all the machine that are to be removed in...

View Article
Browsing all 9071 articles
Browse latest View live


Latest Images