Info about VM with PowerCli
Hi, Is there any way to tell which VM is SMR replica of the original VM with PowerCli? When I send [Get-VM -name "vmname" ] I get the VM's info but there is no way for me to tell if the server is SRM...
View ArticlePowerCLI to show Which VMFS data store is on VMFS-3 ?
Hi All, Can anyone here please share some script to show which VMFS data store is currently on VMFS3 and its NAA ID ? Thanks in advance.
View ArticleGet-SRM - Need help with API calls
Afternoon Team . How do I get a list of defined Port Group inventory mappings in SRM . All I am getting from extension data is $SRM-API. is Content , Protection , Recovery , and Moref Not all my...
View ArticleGet-Stat from Cluster
Hi all! When I execute such command:Get-Stat -Entity $cluster -start (get-date).AddDays(-30) -Finish (Get-Date) -MaxSamples 10000 -stat cpu.usagemhz.average I get Get-Stat : 11/21/2016 4:28:34 PM...
View ArticlePowerCLI console auto start after login to Windows Server and auto login to...
Requiments: 1. After login to Terminal Sserver , PowerCli console will autostart 2. Console will automatically connect to Specific vCenter(ask me only about credentionals) I have idea to perform this...
View ArticleProperly load PowerCLI SnapIn or Module
Hello, With the new PowerCLI Version I need to write a new loading section for my Scripts. The loading part should work with all PowerCLI Versions. #region: Load VMware Snapin or Module (if not...
View ArticleOutput script to body of email
I am trying to output the script to the body of my email, any ideas: ############################## Connect to vCenter ##############################add-pssnapin...
View ArticleNeed PowerCLI script to report or alert Production VM's which are...
Hello Guys, Well, Recently in our Environment there was strange issue which we observed and issue was while production VM's disk consolidation was in-progress and was automatically powered off with...
View ArticlePowerCLI error reporting is broken when working with vCloud Director
It seems that PowerCLI Cmdlets error reporting for vCloud Director cmdlets is broken. For example:When creating new vapp from template with New-CIVapp and it fails (due storage quota exceeded) powercli...
View Articlecreate a maintenance script
hi, Is it possible to create a script that turn off a virtual machine that powered on for more than 5 days?if yes i will appreciate some help with it. Thanks!
View ArticleEmbarrasing question on Connect-CISserver
I am new to Powercli. Have banged around for a year but nothing serious. But I want to really learn it. Anyway I keep reading of some new VAMI commands that are available with vCenter appliance 6.5,...
View Articlerun vCheck for mutliple VC
Hi, I need to run vCheck for multiple vCenters (18 to be exact) having one report per vCenter.Can somebody suggest me how can I achieve this without creating separate directory with all vCheck plugins...
View Articleforeach vcenter {report vcheck plugin xyz}
Happy Thanksgiving (I'm Canadian - ours happened in October) - but I digress (sorry, still thankful for your expert help I am looking to re-use the awesome vcheck code (plugins) across a set of...
View ArticlePowerPack for Powergui
hi there, I'm look for powerpack for my powergui console, but there isn't available in dell site someone have this powerpack to share in any cloud drive ? Thanks, best regards,Joao Castro
View ArticleDeploy RDS Role on a clone Windows 2012 VM
Hello, I tried to clone by PowerCLI script a Windows 2012 server with the Remote desktop service installed. The cloning operation by it self and the renaming and domain joining by OS Customization is...
View ArticlePercent metrics with PerformanceManager and PowerCLI
I am trying to get the value of the metric "cpu.readiness.average" of a virtual machine in a host with version ESXi 6.0 U2 (build 4192238) and PowerCLI 6.3 I try to get the value with 2 different...
View ArticleGet Organizations or VDCs using a specified External Network
Hi Guys. How are you? I have a specific External Network in my vCD environment, and I am try to retrieve a list of Organizations or VDC that are using IP Addresses of this External Network as you can...
View ArticleNew-Harddisk -vdisk doesn't seem to work
Cannot seem to make this work. Any suggestions?In the examples of new-harddisk for 6.5 r1 this is what is provided:-------------- Example 6 -------------- New-HardDisk -VM $vm -VDisk $vDiskAttaches...
View ArticlePowerGUI
Hello everyone, I have been trying to download the PowerGUI utility but can't seem to find where I can download it. the powergui.org link brings me to the dell site but it is not available on the site....
View ArticleTroubleshooting PowerCLI Script for VM Creation from CSV File
I am using a modified script I found on the internet to attempt the automated creation of multiple VMs from a CSV file. I currently am experiencing trouble having the script pull the VM names from the...
View Article