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

Importing a list of exeptions. (CSV)

Good morning everyone. Hopefully one of you guys might be able to help me with a minor scripting issue I am having. I have a script I am writing that will do the following;      1) List all Virtual...

View Article


PowerCLI script for vSphere capacity planning

Hello everyone! After recent discussion on vSphere Capacity planning, I thought I would share one of the tools I use for this purpose. This is a side project I've been working on for few months. I...

View Article


Certificate validation with Connect-VIServer (PowerCLI 10.0 & 6.5.4.7155375)

I'm trying to resolve a certificate validation issue I'm seeing in PowerCLI. (I know I can just set -InvalidCertificateAction to Ignore or save the thumbprint as an exception in PSTCS as a workaround.)...

View Article

Check and Disconnect session

Hi, Please help to how to check and disconnect a visession ? I would like to check and disconnect from vcenter1 before I connect to vcenter2 disconnect-viserver -server vcen01 -force -confirm:$false

View Article

historical Avg CPU,MEM and diskusage

Hello,I was wondering if I can get a historical data (for the past week with interval 120min) to export in CSV with CPUaverage, Memoryaverage, and Diskusage with a date for specific Vmhost export to...

View Article


Image may be NSFW.
Clik here to view.

IP address of Host displayed instead of Host Name...

I have given my esxi a Name...but when I use Get-VMHost... I get Name                 ConnectionState PowerState NumCpu CpuUsageMhz CpuTotalMhz----                 --------------- ---------- ------...

View Article

32bit win7 OS in our VM machines clients but we see not support al our...

Thanks for allwe have  32bit win7 OS  in our VM machines  clients but  we see  not support al our applications  want upgrade to 64 bit also another reason  our apps   require more than 4 GB RAM  i have...

View Article

Determine whether a resource pool has sufficient resource for a set of VMs...

Is there any PowerCLI command which will return how much CPU resources are available in a particular resource pool in terms of number of vCPUs? Or whether a resource pool has sufficient CPU resources...

View Article


Clone VM Script

I'm looking to create a PowerCLI script to clone a VM, and overwrite any existing clones that are present. Just doing some searching, here is what I found:New-VM -Name VM2 -VM VM1 -Datastore...

View Article


Image may be NSFW.
Clik here to view.

vcsa 6.5 trying to automate the backup - authentication failure

Hello  I tried to make the Backup-VCSAToFile work in my development environment. vSphere 6.5 – Automate VCSA Backup » Brian Graf's Virtualization Blog I'm stuck here:A server error occurred:...

View Article

Image may be NSFW.
Clik here to view.

Guest VMs Antivirus Status

HiI need to find the McAfee installed status on 6000 windows VM's. The problem is these are not reporting to McAfee EPO Server. I need to check is AV is installed or not.The only way is I can invoke to...

View Article

Cluster Report

Hi, I'm trying to script a very basic report to output some info for all Clusters in a specific DatacenterCluster NameNames of ESXi Hosts in the ClusterNames of Datastores seen by the Clusteretc......

View Article

Get ESXI info

Hello,I have this script to check each host, I would like to add some columns: Get-VMHost | Select name,     @{N="Host";E={($_ | Get-VMHostNetwork).Hostname}},     @{N=”Datacenter”;E={Get-Datacenter...

View Article


Track Status of move-vm Task fails

Hey, i am working on a script which check the status of the datastore befor a snapshot of a vm is taken. If the free space on the ds in not enough it will move the vm to a other ds which will meet the...

View Article

schedule

Hi guru Very very new to CLI so go easy on me I would like to make this small script to a psc1 file that I can run from a scheduled task connect-VIserver -server $Vms=Get-folder 'path' | get-vm |...

View Article


Recompose Horizon Desktop Pools via PowerCLI

I have been trying to find a way to recompose our VDI Pools via PowerCli and find only references to old deprecated PowerCli commands. Does anyone know how to kick off a recompose with the current...

View Article

OVF Tool to connect to vCenter instead of connecting to Esxi Host

With OVF tool, can we connect to vCenter and then pass Esxi host name as a paramater ? or is there a way to skip the root password for Esxi ?

View Article


OVFTool doesn't exit after successful completion of export directly from ESXi...

Hello everyone, I ran into the following issue while using VMware OVF Tool v4.2.0.15421 under Windows 7/10. I am using the tool in powershell scripts. Since updating from v4.1 the tool doesn't exit...

View Article

created local user but cannot login

I created a localuser on 6.5 esxi server but cannot login as user  connect-viserver -server esxiserver -user root -password "mypass"New-VMHostAccount -Id test -Password "mypass" -UserAccount...

View Article

slow ovftool

OvfTool Version: VMware ovftool 4.2.0 (build-5965791)ESXi 6.0 (newest patch). I have deployed windows server 2012r2 for ovmtool instillation and export purpose.VMs which I need to export and windows...

View Article
Browsing all 9071 articles
Browse latest View live


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