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

Trouble filter out VMs to delete snapshots from.

Currently trying to make a script to delete all snapshots over 3 days old while referencing a txt file of VMs that are exceptions.  What I have is hackish and poorly written, it should work I think,...

View Article


ERROR: New-Snapshot (Operation is not valid due to the current state of the...

Hello guys! I've been googlin around a bit, but cannot find a solution to my problem. Hopefully one of you skilled people can point me in the right direction:) I've created a powerCLI script to take a...

View Article


test cluster in powercli

Can the test cluster command in powercli adversely affect a VMware environment ?  Does it make changes to Hosts/Configuration ? I want to run Test cluster in VMware environment where it test...

View Article

Monitoring when one or more vms of a group of drs are added or removed.

Hi guys Is it possible with Powercli monitor and create an vm alarm when one or more of a group of drs are added or removed?

View Article

Network Core Dump to Windows Server UNC?

Hey gang.  I'm trying something quite 'off the reservation' as we PowerCLI users like to do from time to time.  Recently, we encountered the Purple Screen of Death on one of our hosts.  After 2 days of...

View Article


Does anyone know how to sign ova with timestamp?

I am creating ova file using VMware OVF tool .And I want to use public Code Signing Certificate like published by Globalsign or Verisign.But current OVF tool doucment is not introduce how to sign with...

View Article

Image may be NSFW.
Clik here to view.

vSphere Data Protection PowerCLI ?

Hi People, I wonder if there is any vSphere Data Protection CLI to show the report of which VM is backed up by VDP or something like below: #Status of all services on the VDP appliance dpnctl status...

View Article

Bug in PowerCLI 6.5 R1: Could not load file or assembly log4net

Description I don't know where to report PowerCLI bugs ... btw Get-ErrorReport won't work for this bug. There is a problem with PowerCLI 6.5 R1. When starting the x64 PowerCLI all PowerCLI modules...

View Article


PowerCLI to list all Powered Off VMs and Date of Event

I am trying to get this script to work but it doesn't even seem close at this point.  I am looking to run a report on Powered Off VMs and information about them.  I need to be able to clean the...

View Article


Image may be NSFW.
Clik here to view.

import-vapp remotely

Hello,  Can anyone please confirm if it's possible to use import-vapp remotely? My environment is vCenter 6.5 and I've tried different powercli versions, 6.3 and 6.5 I'm trying this: invoke-command...

View Article

How to get Datastore belongs to which compute cluster

Hi, I am trying to figure out how to get Datastore belongs to which compute cluster that fits in below script, please help me on this. Thank you in advance.if(-not (Get-PSSnapin...

View Article

portid's traffic shaping info in dvs

I want to get TrafficShapingInfo at portid's in dVS Refer to the followinghttp://davidstamen.com/powercli/using-powercli-to-get-and-set-dvs-traffic-shaping-settings/ I can get TrafficShapingInfo in...

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


Invoke-VMScript The operation is not allowed in the current state.

Hi all I'm just trying to invoke-VMscript on a VM ,  PowerCLI - latest but using 32bit for invoke-vmscript vCenter 6.0 - 3018524 Invoke-VMScript -VM C365-bp-LP-x -ScriptText "C:\temp\script.bat"...

View Article

How to list ESX Host CDP info using new-VIProperty

I'm trying to use new-viproperty to extract ESX Host physical NIC port information.  There is a lot of info on how to do it using get-view and queryHint but I'm trying to use VIProperty. I have built...

View Article


Snapshot script for multiple snapshots? Example in post.

Hello, I'm hoping somebody can lend me a hand or give me some direction.  There are a lot of snapshot monitoring scripts out there, we use a few of them in our environment.  What I'm looking to do...

View Article

Discussion: Automation- Api's vs. PowerCLI

This is a topic I've been thinking a lot about lately as I've been reading blogs, listening to podcasts, talking to peers, etc. If we are talking about automation, strictly automation, does it matter...

View Article


Image may be NSFW.
Clik here to view.

How to find Orphaned VMDK files

How can we find out Orphaned VMDK files in all the Data-stores.

View Article

how to get SAN boot details

Hi,We are migrating esxi 6.0 SAN boot lun from old vmax to vmax 3 i am trying to get a script to find boot LUN name and NAA id from all esxi servers in vcenter,how to get from powercli ? Thank you in...

View Article

vsan On disk format version

Hi, is it possible to fetch vsan on disk format version using powercli ?

View Article
Browsing all 9071 articles
Browse latest View live


Latest Images

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