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

Get-VIEventPlus question

I have been using the below to identify VMs that have been restarted by HA in our environment.  Works great but was wondering if there is a way to include  the host that experienced the issue causing...

View Article


List thin provisioned disk over 500GB.

Can i get help please, I need to get all a list of all thin provisioned disks which are over 500gb only.  The report needs to show the VM name, vmdk file, and size of the virtual disk.   I have tried...

View Article


PowerCLI 6 R3 - RelocateVM_Task from one vSphere to another not sharing same SSO

Hi,)I've been trying to grasp my head around the excellent script (orignally created by William Lam) to be able to vMotion a running VM from one Datacenter to another in different vSphere enviroments....

View Article

Get total committed size of a VM across all datastores

Unfortunately I have only a single ESXi host for testing right now, but I will eventually be running this script on a vSphere setup with multiple hosts. I want to get a VMs total committed size across...

View Article

Tracking down this value (ServiceUrl) in a view object

I'm using this script from the vSphere powercli book reference to dump the VM view to text in order to search on it: Header 1function ConvertTo-Text {  Param(    [Parameter(ValueFromPipeline=$True)]...

View Article


Image may be NSFW.
Clik here to view.

Script or Tool to collect orphan vmdk files

I am looking for a script/tool to help me to identify orphan vmdk files in our vmware environment. I have tried a few scripts that are available in the internet ( some of them were suggested in vmware...

View Article

cross vCenter vmotion error

I have successfully tested a powerCLI script for cross vCenter vmotion with two vCenters on the same SSO domain but I'm having trouble getting it to work with two vCenter servers that are not on the...

View Article

Image may be NSFW.
Clik here to view.

AutoDeploy Rules are not shown completely

Hi mates, I will be very thankful if you can help me in this matter, I ´m planning an upgrade in a platform which has Autodeploy configured. The case is we need getting the current defined rules so...

View Article


Image may be NSFW.
Clik here to view.

Get Number of VM CPU and Cores

Hi I've tried the following but cannot get the number of VM CPU and Cores. What am I doing wrong?    

View Article


Script import-module Catastrophic failure

I currently am having an issue with a script we are scheduling through our RMM tool Kaseya. In my script I am importing the vmware.vimautomation.core module and it works great when I run the script...

View Article

VMDK min , max and average utilization

Hello , I am using below script to get max IOPs report for the virtual machine?  is it possible to add Min and max and Average disk utilization on the same script? ------------------------ $metrics =...

View Article

script for snapshot details

hi, Iam using below for pulling snapshot info. could you please help me in getting the report for multiple vcenters in csv?  Get-VM | Get-Snapshot | Select-Object vm,name, created,sizeGB } | Export-Csv...

View Article

Image may be NSFW.
Clik here to view.

How can I automate creating a scratch partition for a large number of hosts?

I would like some help with scripting the following steps to cerate a scratch partition on all hosts that do not have one and then reprot back to me which hosts had to have one created. all of my ESXi...

View Article


Image may be NSFW.
Clik here to view.

Power CLI script to find pcislotnumer(UI number) in a windows guest OS

Hi LucD, I have a query from one of the customer who wants to get the following details from windows host running on VMware.   Customer uses different disk types for our VMs. R10, R5, AutoTiered and so...

View Article

custom ISO one-liner not working any longer

I have a one liner I built about a year ago to build custom install ISOs for UCS and nVidia vibs. It doesn't seem to work any longer. The main culprit seems perhaps to be Add-EsxSoftwareDepot not...

View Article


datastore cluster info

I'm looking for a command/script that would list datastore cluster name, virtual machine name(s) using the database cluster, and the cluster(s) where the virtual machine resides.Any help is greatly...

View Article

svmotion Only disks from one datastore to another datastore

Hi Guys, I have VM's 6 disks whereby four disks + configuration files are located on Datastore1 and two disks of this VM are located on Datastore2. I've created a new Datastore3 and I want to migrate...

View Article


Reconciling Windows Disks with vmdk files

Hi, First of all, sorry if this question has been answered before (or the solution is so obvious no-one has bothered to ask it)! I am looking at building a automated documentation system for our ESX...

View Article

Update Manager PowerCLI 6.0 against VUM 5.5?

Yes, the documentation states that the Update Manager PowerCLI 6.0 is only intended to be run against VUM 6.0.  Has anyone tried running it against a VUM 5.5 server though?  Any really broken behavior?...

View Article

Write-Verbose assistance needed

Greetings, I've been messing with this for the past 2 hours and can't really get it the way i want to, nor am i able to find any assistance on google or forum search. Anyway, i've read a lot about how...

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>