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

Backup VMs with Copy-DatastoreItem

Hi I'm trying to write a script who backups the VMs of our helpdesk. They have some testmachines, who need only a basic backup. The Script:function backupvm($name, $destination) {    $test = Test-Path...

View Article


Waiting for tasks to complete

I am writing a PowerCLI script that includes taks thate take some time to complete.For example, my script includes a command to shutdown a VM, like: Get-VM $vm | Shutdown-VMGuest How can I ensure that...

View Article


Cisco Discovery Protocol

How easy would it be to get the below codes output to a spreadsheet. Ideally each column be the name of the ESXi Host and under those columns are the returned results.Get-VMHost | Where-Object...

View Article

Could not complete network copy for file - Template deployment

Greetings, I've encountered what I believe to be a bug with New-VM -Template cmdlet and was wondering if anyone else could shed some light on this subject. I consistently get this network file copy...

View Article

Getting the power state of a VM

I apologize for the very basic question.How can I get the power status of a VM?I made several tests but up to now I was unable to find the right syntax...Regardsmarius

View Article


Reconnect Host after non self signed certificate replaced

Hi we have changed the default self signed certs for internal generated ones. So we have gone from 10 year valid certs down to 2 years, hence having to manage certificate replacement...... So once the...

View Article

vMotion TCP/IP Stack- Created by Powercli

Hi all, Has anyone successfully automated the creation of the vMotion TCP/IP Stack on each host and then the creation of the vMotion VMK utilizing the newly created stack. RegardsCliff

View Article

Log into vCenter using certificate

I have a vMA running on my vSphere environment and want to execute esxcli (command-line interface) to get data from esxi host.  Right now, I have to provide vCenter credentials (username and password...

View Article


Cluster and Resourcepool allocation report

Hello I required a help to get a report in html or csv for ESX/VMware pool inventory. I am trying to run on larger environment prefer using (get-view)Ideally, I'd like to see a report that lists the...

View Article


Image may be NSFW.
Clik here to view.

View Connection and Security Server instalation via PowerCLI

I am trying to install VMware View Connection Server and a Pairing Security Server via PowerShell and PowerCLI . Silent Installation of the View Connection Standard and replica server works but I get...

View Article

PowerCli - Host Profiles

Hi, I'll have a Host Profile created for a Cluster (with some nodes, three), and I'm trying to automatically fill the "answers" for the Cluster host Profiles instead of fill all network settings...

View Article

Facing issue while adding modules

I upgraded the PowerShell 3.0 from 2.0 and installed PowerShell CLI from here: https://communities.vmware.com/community/vmtn/automationtools/powercli and following this url:...

View Article

Waiting for a VM to be ready

In a PowerCLI script I force a powered off VM to power up.In a few seconds the PowerState property of the VM changes to "PoweredOn", but I have to wait a quite long time for the boot to complete, till...

View Article


vdf -h Powershell equivalent ?

 Just asking if there is a cmdlet in powershell to give the same result as vdf -h.     Any Help Much appriciated.    

View Article

Image may be NSFW.
Clik here to view.

PowerCLI Export DRS Rules Script help

Hi, I'm using this code to export DRS-Rules.1. The data is exporting fine (if the script is executed manually), but the console is still throwing the errors (screenshot below, also attached with this...

View Article


Image may be NSFW.
Clik here to view.

Exporting RVtools report in CSV from Power Cli automation script

Hi all, Can we Export the RV tools Report through Power Cli script. I could get the details from RV tools per VC , but i want to get details of RVtools report of multiple VCs in sheetfrom Power Cli...

View Article

ESXCLI returning {VMware.VimAutomation.ViCore.Impl.V1.EsxCli.EsxCliObjectImpl}

Hi Im trying to retrieve cache stats though powerCLI using Get-EsxCli, but its not returning all values.Is this a known problem ?  PowerCLI version VMware-PowerCLI-6.5.0-4624819. ( 6.5.0.234 )OS...

View Article


What is the Powercli command to find vsphere clients in powercli (is the a...

In Powercli I can find  esxi Hosts, I can find virtual machines,  Is there a powercli command to find vsphere client (only vsphere clients). one has to connect to viserver in order to access powercli....

View Article

Force duplicate host name

There are occasion where the duplicate vms are created with the same host name. To prevent and avoid this, we need to create a duplicate vms. Is there any easy way to do this by PowerCli or vijava or...

View Article

Looking for a script to get vpxa agent version

I am working with a customer that has a large number of hosts in several vCenter environments. In troubleshooting some issues due to a recent upgrade to VCenter 6.0 U3, I have a need to verify 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>