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

Any idea why this simple script to increase disk size is failing

Found a script that should theoretically increase the disk size on a .csv list of VM's.  Unfortunately however it fails, and in honesty I dont have any idea why, using F8 to step through it you can see...

View Article


Get List of VMs which has particular ISO mounted

Please help me to Get List of VMs which has particular ISO mounted I tried using but I am unable to get any VM name Get-VM | FT Name, @{Label="ISO file"; Expression = { ($_ |...

View Article


DB servers

Dear Team, In our environment we are getting frequent request to setup RAC DB, Just wanted to know how we can automate below process - 2 VMs are already Provisioned with 1vHDD size of 50GB (Thin),...

View Article

comment je peux configurer vsphere Management Assistant (vMA) pour arrèter...

comment je peux configurer vsphere Management Assistant (vMA) pour arrèter les machine virtuel sur un environnement vpshere esxi 5.5 j'ai utilise UPS infosec

View Article

Vmware.Hv.Helper Format-Custom

Running Get-HVPool | Format-Custom I can see all the data i want to pull from our envrionment, but i'm unfamilar with the output formatclass DesktopInfo{  Base =     class DesktopBase    {      Name =...

View Article


Deploy VMs through Template

Dear Team, Daily we have to deploy 100+ VMs, Just wanted to know how we can automate the process. We have already created 2 customization, one will be used for windows and other for Linux, If we are...

View Article

Get the registered vCenter info from the datastore VM folder files

Hi Team,I have VMs from multiple vcenters in a datastore , because the datastore is connected with multiple vCenters.Is there any script available to get the registered vcenter for each VM from the VM...

View Article

PowerCLI for SCSI Unmap

Hi,  I am getting following error while performing powerCLI, i assume it's still running in the back ground, but would like to know what is causing this error.  The operation has timed outAt...

View Article


Connect-VIServer fails to connect with passed credentials inside scripts but...

I have 4 vCenters.  The first 3 are all Windows vCenter installations.  I am able to connect to them via scripts with this method.Connect-VIServer IP/DNS_Name -User administrator@vsphere.local...

View Article


Trying to install PowerCLI 10 on Windows 7 and failing ... please help!

Hi all, I need your help. I'm trying to install PowerCLI 10 on Windows 7 and failing, repeatedly.  No matter what I do, I always end-up with a 6.5.* version: After running my script (below), I'm still...

View Article

Image may be NSFW.
Clik here to view.

Upgraded to PowerCLI to 6.5 gettings used to the changes, any idea what the...

Upgraded to PowerCLI to 6.5 getting used to the changes, any idea what the equivalent of "Connect-VIServer" and what the syntax would be...  For example I currently connect into the infrastructure with...

View Article

PowerCLI Script to extract all DVS configuration to CSV

Hi, All I am looking for good script to help me pull out DVS switch details along with portgroup configuration. I was able to pull out IP details so may not required in script. What Teaming and...

View Article

Unable do LeaveDomain using PowerCLi

I need to change DNS for all of my ESXi hosts, and this requires dis-joining AD domain if I am not mistaken, the following command fails with an error, meanwhile I am able to perform this in the web...

View Article


Migration of Nexus1000v to Vcenter vDS

Hi All, I need some help migrating existing vDS Nexus 1000v to vcenter vDS using power shell. Right now i have powercli command to recreate all the port group from existing  N1K to newly created vDS,...

View Article

How to create LAG and assign uplinks?

Anyone know how to create a lag on a distributed switch and assign uplinks to it with PowerCLI 6.3?  I can't seem to figure this out and Google has not been much help.  Is this even possible to do with...

View Article


Lun CanonicalName and display Name

Hi Why I am not able to write any output. I know there are two luns which are not roundrobin but not writing any output. foreach($VMhost in Get-VMHost "Esxi1"){ foreach($lun in (Get-VMHostHba -VMHost...

View Article

Image may be NSFW.
Clik here to view.

PowerCLI Version

Hi all, I've installed PowerCLI 6.5 on my Computer. When I type " Get-Module -ListAvailable VMware.PowerCLI " or " Get-PowerCLIVersion ", I get that I've probably vesion 10.0 installed, like the image...

View Article


--X:vCloudEnableGuestCustomization not enabling

Good day,I importing .vsx with ovftool and using option --X:vCloudEnableGuestCustomization=true (it's false by default) to vCloud Director 9. The process completes with no errors. But at the end the...

View Article

Not retrieving canonical name for only one ESXi host

Hello, I have the following script that works fine. Today I started upgrading a vCluster of ESXi v.6 to v.6.5. I formatted the first host, installed ESXi v.6.5 and added it to the vCluster...

View Article

Get-TagAssignment Auth Error

Hello, I recently updated to PCLI 10 and after running a tag query ( while properly logged into the VIServer )...   Get-TagAssignment -Entity $args | Select Tag ... it would produce an expected result,...

View Article
Browsing all 9071 articles
Browse latest View live


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