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 ArticleGet 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 ArticleDB 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 Articlecomment 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 ArticleVmware.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 ArticleDeploy 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 ArticleGet 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 ArticlePowerCLI 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 ArticleConnect-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 ArticleTrying 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 ArticleUpgraded 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 ArticlePowerCLI 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 ArticleUnable 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 ArticleMigration 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 ArticleHow 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 ArticleLun 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 ArticlePowerCLI 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 ArticleNot 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 ArticleGet-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