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

Looking for vCD PowerCLI script to update VM CoresPerSocket value.

Hello, I am looking for a vCD PowerCLI script to update VM CoresPerSocket value. I am using below but it is not working. Connect-CIServer -Server vCD_IP -user User -password Password$CIVM = Get-CIVM...

View Article


Deploying a Template from CSV File With Other Settings

I am wondering what it would take to have the PowerCLI script we have already assembled to call on a VM Template and adjust the settings within that Template with the setting specified within the CSV...

View Article


vsphere replicaiton and SRM

Hello Folks,I`m new to Developer Center, I`m trying to find VR (Vsphere replication )and SRM API/vcli/powercli command, But I have find any info about them in the site.   Can someone help me find it ?...

View Article

Error Installing OVFTool on Ubuntu 14 WorkStation Guest

I am trying to install ovftool 4.1.0 on a Ubuntu guest I have on my Windows host.  I downloadedd the ovftool bundle changed permission to +x, started the bundle, and accepted the license.  It says it...

View Article

vROps PowerCLI counters

I'm running these commands: Get-OMStatKey -name "virtualDisk|totalLatency" -Resource VMName Get-OMStatKey -name "virtualDisk:Aggregate of all instances|totalLatency" -Resource VMName   Can anyone...

View Article


Averaging vROps PowerCLI Counters

Can someone clarify how this counter works in vROps?If I use the "disk|totalLatency_average" counter as follows: $statkey1 = Get-OMStatKey -name "disk|totalLatency_average" -Resource vrops  Do I need...

View Article

Match correctly windows disk to vmware harddisk

I've been searching all over for a way I could match disks inside windows to vmware's harddiskThe problem is when I have disks with same scsi id on more than one scsicontroller (for ex. (1:0)  and...

View Article

Image may be NSFW.
Clik here to view.

Orphaned VMDK Script - calculate total orphaned space

Hi, This is the script I'm currently using. (I'm not copying here the complete version that includes like parameters, logging etc)I'm using $orphanSize += $fileResult.FileSize to find the total...

View Article


ESXcli 5.5 UNMAP and PowerCLI script?

Has anyone been able to get powercli to run the esxcli command for unampesxcli storage vmfs unmap -l Datastore name -n unit any example would be appreciated

View Article


PowerCLI to extract all vSwitch network info to CSV

Hi People,    Can anyone please assist me with the PowerCLi script to be executed against one VCenter server to gather each VMHost (ESX & ESXi) Networking configuration as in Configuration tab |...

View Article

powercli command to add cpu cores to the cpu?

i know that the command for add cpu is -NumCpu  ... but whats the command to add x numbers of cores to the cpu? Thanks for your help

View Article

UNMAP multithreading

Hi,I am looking for a powerCLI script to unmap 8 datastores in parallel with 200MB reclaim unit.Anyone has suggestions on that?  Regards,Prashant M Bhushan

View Article

Scheduled tasks dependencies

Hi I have a simple question. I have a large vm and I want to create one or more scheduled tasks that does the following:shut down the vmclone the vmpower on the source vme-mail me when it's done Is it...

View Article


guest os ipaddress,subnet and gateway information

Hello I'm trying to pull Guest VMS IP address,Subnet and gateway with the below script..But unfortunately its not working...In  datacenter vms run on standard and DVswitch..vms version start from...

View Article

This operation is restricted by the administrator Error when running...

I have a script which use to gather performance report for monthly -but after the upgrade of VC The script fails with below error   Get-Stat        This operation is restricted by the administrator -...

View Article


Where can I find vmwarevSphereHealthCheck.tar.gz ?

Hello, I just installed Free ESXI vSphere 5.5 in a lab environment to try and configure Health alerting since it is not including on Free. I have my vMA installed and configured on my host but now I...

View Article

vCLI: Can't locate XML/LibXML.pm

Trying to backup a standalone vSphere host from a Windows 10 workstation. Found this:https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2042141Says...

View Article


Editor with Syntax Highlighting

All,  I am currently using Powergui, but I've noticed the VMware powerpacks stop at 4.1.  I assume this means any of the new cmdlets will not show up with highlighting?  Is there an editor that has the...

View Article

Image may be NSFW.
Clik here to view.

PowerCli Assistance

I am looking for a way to script the turn on of VMs in a specific order using wild cards. Some of the requirements are as follows: Systems need to be powered on in groups.Systems need to come up before...

View Article

Test login credentials are correct using invoke-VM

Can some suggest me to complete this script.1. There is a user with name 'admin' on all the windows machines (6k +)2. In some of the VM's the admin user is configured with a particular password (ex:...

View Article
Browsing all 9071 articles
Browse latest View live


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