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

Image may be NSFW.
Clik here to view.

Get-Esxcfginfo - William Lam script

Hi All I need this script send me data in xls & also possibly add more data the cmd send apart from below 3 ..    if($childnode.name -eq 'device-name') {   } elseif($childnode.name -eq...

View Article


Rename distributed switch uplinks

We are implementing distributed switches in our environment, we are trying to migrate using powercli and it works great. My question is purely cosmetic. Is it possible to rename the different uplinks...

View Article


Issue running Powercli script in Powershell ISE

Hi there So i use ISE for both Powershell and PowerCLi scripting, but I have recently noticed an issue with a script I use. The script I use deploys Linked Clones to our ESXi environment, and until...

View Article

Uplinks on a virtual switch

Hi, Each esx host in our environment has 8-10 uplinks. There are different vswitch (standard and distributed) configured for management network, vMotion, Production, Backup etc. The uplinks are added...

View Article

Getting CSV of all VM's with info tabs,

Hi All, Feel like this is a stupid question, but after much research I cant find the answer! The goal is to have a CSV report with all the VM's on a VCenter, with columns of associated data for each...

View Article


Powercli + Horizon

Is it possible to add an unmanged VM to a Manual Desktop Pool and assign a user to that VM via powercli? I have a powershell script that will create the VM and join it to the domain directly from...

View Article

How to get VMhost for a VM template (from get-view)

Hi all - I'm using PowerCLi 6.5.  I created a function that uses get-view to report a lot of info about our VM templates (e.g., name, description, filename, datastores, vm folder, version, CPU, memory,...

View Article

connect-viserver not working in PowerCLI 6.5.1

When I run  connect-viserver -Server vcenter -Credential(Get-Credential) I get: Connect-VIServer : 'config.vpxd.sso.sts.uri' is invalid or exceeds the maximum number of characters permitted.At line:1...

View Article


Last VM powerOn

 I am trying to pull together a script that will list all my powerd off VMs and then list its last PowerOn.  Anyone have any ideas?  Jim   

View Article


Image may be NSFW.
Clik here to view.

Script or commands to find Power Management Settings

I did some google searches and couldn't find anything handy in this forum so far.  Is there a handy PowerCLI command or script that someone has that can find the current Power Management setting...

View Article

Image may be NSFW.
Clik here to view.

VM to OVF w/ OVFTOOLS Error

Hi, Using ESXi 6.0.0, ovftool 4.2 I am trying to export a VM in a standalone ESXi to OVF using the following sintaxys: C:\Program Files\VMware\VMware OVF Tool>ovftool...

View Article

Generate report about VM properties

Hello, I'm trying to get the following in a report:VM name.network name of that VM.hard disk location (optional). I've tried to specify a property with "get-vm" and "get-networkadapter" but it seems...

View Article

How to delete VMs from vCD via powerCli?

Hellofor test purposes, I frequently have to remove VMs from a vApp in vCloud Director. As I would like to do it 'properly', I do not want to delete the VMs by connecting to a vCenter and run...

View Article


when running OVF Tool exe, i get this: Error: No source or target specified

when running OVF Tool exe, i get this: Error: No source or target specified.seen a few links stating it doesn't like running from folder it was installed in. any help as to where it could run from?thanks

View Article

Image may be NSFW.
Clik here to view.

Add physical nic to a specific ulplick port of VDS

Hi there,I have an issue with adding physical nic to a specific uplink port on the VDSIn powercli we have this example>man Add-VDSwitchPhysicalNetworkAdapter -Examples--------------  Example 1...

View Article


vmware tools

Hi experts  Can anyone correct this script, i have vms in text file i need to install vmware tools on these machines.  $GuestCrd = Get-Credential Administrator $VMs = Get-content .\servers.txt foreach...

View Article

get-vmhostprofile status

how do I get the profile status (compliant/non compliant) for a cluster of vmhosts?

View Article


VM Network information

HI All, I have 100 VMS running on 5 ESXi hosts. VM Configuation is as below. CPU --> 1 vCPURAM --> 8 GBNIC 1 ---> E1000 ---> VLAN101NIC 2 ---> E1000 ---> VLAN102NIC 3 ---> E1000...

View Article

POWERCLI 6.5.1 and powershell 4.0

Dear all I have installed powercli 6.5.1  in powershell 4.0 console I have followed the instructions from Kyle Ruddy blogsKyle Ruddy, Author at VMware PowerCLI Blog - VMware BlogsBut when I run...

View Article

Parsing import-csv VM data

I'm importing a csv with vmnames.  They have one of 4 formats: vmname1234vmname1235 locationvmname1236-locationvmname1237 - location the first is just the vmname.The second is a vmname then a space...

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>