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

Passing current credentials (SSPI)

I wonder how PowerCLI does to pass my current AD-credentials when connecting to vcenter or invoking scripts in VM's? Im creating a custom module, wrapping some of those commands,  Its not CredSSP,...

View Article


Image may be NSFW.
Clik here to view.

Match correctly windows disk to vmware harddisk

I've been searching all over for a way I could match disks inside windows to vmware's harddiskThe problem is when I have disks with same scsi id on more than one scsicontroller (for ex. (1:0)  and...

View Article


Image may be NSFW.
Clik here to view.

PowerCLI Report: Get Datacenter, #cluster & stats

I'm looking to run a PowerCLI script to return a table with the headings as follows: Datacenter | Number of Clusters | Total CPU (GHz) | Total Memory (GB) Many thanks

View Article

Disable TLS 1.0 in vCloud Director 5.6.x

Has anyone been able to disable TLS 1.0 for cell servers in vCloud Director 5.6.x?   The documentation for 5.5.x is the only reference I can find, but the command argument listed no longer exists in...

View Article

Image may be NSFW.
Clik here to view.

Find out which VMs have mounted a certain VMDK

What's the fastest way to find out which VMs have a certain VMDK attached? I can see in vCenter > Storage Reports (Virtual Machine Files) that the Number of VMs on a certain VMDK shows as 2. This...

View Article


Image may be NSFW.
Clik here to view.

Configure powerfail on different ESXi hosts with rccmd

Hello,i`m quite new to VMWare and i`m trying to set up the shutdown behavior on powerfail with our ups. We have two hosts on different sites, each of them plugged into an ups.The hosts are configured...

View Article

TAG Permissions

Must allow a user to manipulate tag, which role it needs to havethanks in advanceMarcelo

View Article

PowerCLI Export and Import Roles and Permissions Question

Hey everyone. I am working on deploying a new trio of vCenter servers in our environment.  We are consolidating down from about a dozen different vCenters since, as you can imagine, managing those is a...

View Article


List Windows IPs

How can I create a csv with the IP address of every windows VM in vCenter?

View Article


Error handling help

Hi All, I have an esxi postbuild script, all works well except when trying to add the syslog server, that doesn't always work as the DNS entries for some unknown arent always successful, if I run it...

View Article

Help to show VMHost name on a script

Hi, Beginners question... Using this command: Get-VMHost | Get-VMHostStartPolicy I get this result: VMHost                    Enabled  StartDelay StopAction StopDelay  WaitForHeartbeat------...

View Article

Image may be NSFW.
Clik here to view.

change all esxi password via powercli

any good scripts to change all esxi passwords...

View Article

Get-VM using multiple tags to get a specific tag after that can be filtered

Hi Guys, I am currently having an issue where the actual results of a query isnt returning all the VMs I want, instead I get too many and then have to filter out the ones I want later in Excel which I...

View Article


Get-TagAssignment Entity includes custom field names (Bug?)

Our environment uses multiple CustomAttribute annotations on VMs. I've noticed that when I use Get-TagAssignment on VMs in our vCenter, the Entity object, which should be just a VM (VirtualMachineImpl)...

View Article

How to assign IP address to vm created by template using ansible?

Hi, I am trying to deploy a VM by template using ansible, i dint find a way to assign the IP address for the vm created. Please advice me. Note: i have achieved the same using powercli but am looking...

View Article


route print info

Any possible way to get route print from the VM's . I am trying using invoke method but can't write the output properly to csv.  foreach($vms in Get-ResourcePool test1 |Get-VM |? {$_.PowerState -eq...

View Article

How to get Task and Events on Datastore, Through Powercli ?

I was trying the below, but it trowed and error. $datas = Get-Cluster -Name "xxxx" | Get-Datastoreforeach($ds in $datas){    $dview = $ds | Get-View    Get-VIEvent -Entity $dview |  ?...

View Article


New-DatastoreDrive

This used to work. Hopefully someone can point me in the right direction of what replaced New-DatastoreDrive  ?Get-Datastoredatastore2|New-DatastoreDrive-Nameds Copy-DatastoreItem -Item...

View Article

PowerCLI Scripting - SnapShot Create Date is older than 3 days

Hi All! I was tasked to create a script which queries all the snapshots created VMs in an eSXI host.   The main requirement is to generate a list of snapshots and VMs with create date of older than 3...

View Article

Image may be NSFW.
Clik here to view.

Connect-VIServer -AllLinked with Enhanced Linked Mode

I'm struggling to find an "AllLinked" solution for "Connect-VIServer" with Enhanced Linked Mode.  Our VC6 infra has 4x geographic VCs in an Enhanced Linked Mode configuration and we may add more VCs as...

View Article
Browsing all 9071 articles
Browse latest View live


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