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

What are the differences between "PowerState" and "Guest.State" when I run...

I run the following powercli script:-Get-VM |Export-Csv -Path c:\test.csv -NoTypeInformation -UseCulture  And from there I found 2 properties that describe the VM status:- 1. PowerState which can be...

View Article


Image may be NSFW.
Clik here to view.

vCenter licenses deatils

Hi All, Thanks in advance regarding to Audit my ESXi environment I required the Licenses details in following format. I tried with merging two script available in internet, but not getting the correct...

View Article


what is gpm in vmware powercli?

In powerCLI we use  commands like, get-vmhost, add-vmhost, etc, my concerned is about gpm gpm add-vmhostgpm get-vmhost what is gpm and its role in vmware?

View Article

Image may be NSFW.
Clik here to view.

Need Automation to deploy "Horizon View Agent" on 30 VDI Machines

Hi There, I am trying upgrade my VDI environment from 5.3.x to 6.xFollowing servers will be upgraded manually i.e. ESX, vCenter, Composer & Connection server etc. But looking for an automation OR...

View Article

Script to list all local accounts on each ESXi host for security checking

Hi, Is there a script or command i can run against my environment to prove to the security team for audits that only permissable accounts are added to the ESXi hosts? Gregg

View Article


Image may be NSFW.
Clik here to view.

Is there a way to know if a vm retruned from running Get-VM is a SRM replica vm

I am working on powercli 5.5 release 1e and i run the following command to get a list of vm under a hypervisor server:- Get-VM now i got many useful info such as :- powerState    Version    Description...

View Article

Image may be NSFW.
Clik here to view.

unable to connect to a "Microsoft Hyper-V Server 2012" using the...

i have many ESX hosts servers which i can connect to using the following commnad:- >>Connect-VIServer  and i can retrieve their info and their VMs info using the following commands without any...

View Article

Image may be NSFW.
Clik here to view.

How to get the storage Array and Vendor Model Type for a datastore

Hi ,  I am trying to build a script to run for each cluster in our environment and there is a challenge in it that we run multiple different types of storage in our environment . we have an EMC FC...

View Article


Image may be NSFW.
Clik here to view.

powercli script not detecting hardware issues

I am currently using the script below to perform hardware checks on all the esxi's.Today I found out that one of the esxi's has a problem with a hard disk, as shown in the attached screen shot. Yet,...

View Article


Detect VM with 4 network adapters and same NetworkName

Hi All, I’m trying to write a script which will find all servers with 4 network adapters and their 3rd and 4th adapter have the same NetworkName(VLAN). I want to have output with:Server nameNetworkName...

View Article

PowerCLI and vCloud Air ovf deployment

Has anyone used powercli to deploy ovf / ova files to vCloud Air?Does it require the ovf tool to be installed to use?Is it easier to use powerCLI to deploy an ova / ovf to vCloud Air or to use the ovf...

View Article

Get virtual machine details from specified cluster using Get-View

Hi AllI'm trying to collect virtual machine details such as powerstate and memory usage within a specific cluster.  I have the following code which collects those details but it gets the details of...

View Article

Image may be NSFW.
Clik here to view.

finding the snapshot creator

Hey guys - I found this script which is running fine except that it doesn't seem to show the users who created the snapshots unless they were created by veeam - running 5.5 u3 Any thoughts about how to...

View Article


(get-vmhost...

I run the following command to get the serivceTag for ESX host servers:- (get-vmhost yourhostname).ExtensionData.Hardware.SystemInfo.OtherIdentifyingInfo | Where-object {$_.IdentifierType.Key -eq...

View Article

Deployment script stopped working...

Hi, I've been using the excellent script from  http://blog.smasterson.com/2014/05/21/deploying-multiple-vms-via-powercli-updated-v1-2/successfully for a while now. Recently though it started throwing...

View Article


Guest.ToolsStatus?

When I run the following command:  Get-VM | Get-View I don't see a field for Guest.ToolsStatus. I know for certain some of these VM's have tools running and powered on. Any ideas?

View Article

How to change IP mode from DHCP to static Pool using ovf tool 4.0.0

I am unable to to change the IP mode using ovftools, below is the probe mode output of my ovf and command line options used to upload the ovf with network...

View Article


Image may be NSFW.
Clik here to view.

Create Read only local account

Hello I am trying to give a existing role, ie read-only to a local account which i created I am giving below ... New-VIPermission -Entity $_.Hostname -Principal $userName -Role "read-only"...

View Article

Add Firewall Rules to all vApps (or even one!)

Hi, Hoping someone can help, I need to add 2x firewall rules to all vApps in preparation for an environment change. I'm trying to test the following script on one vApp (the rules are just examples), it...

View Article

Onyx 2.2.5161.29309 - PowerCLI 5.5 Release 2 Patch 1 - No Output

Hi when I try to execute PowerCLI cmdlets when connected to the IP:1545 to review output in other modes there is nothing that displays. However, when I use the vSphere Client, outputs are captured. I...

View Article
Browsing all 9071 articles
Browse latest View live


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