ArvindBhargava's Posts

I have a small script which lists some parameters of VM however when the number of VM is more than 1 it gives error as below Method invocation failed because [System.Management.Automation.PSO... See more...
I have a small script which lists some parameters of VM however when the number of VM is more than 1 it gives error as below Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'. At :72 char:25 +                         $VMinfo +=$VM_Info +                         ~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidOperation: (op_Addition:String) [], RuntimeException     + FullyQualifiedErrorId : MethodNotFound Below is the scrip $VM_folder=Get-Folder -Name "*$VMname*" -Server $VCname |Get-VM function get-vminfo($VM_folder){ foreach ($VM in $VM_folder |Where-Object {$_.Guest.OSFullName -ne $null})                          {                                        $VM_Info=""|Select-Object VMName,Consolidation_Needed,Tools_Status,MemoryGB                         $VM_Info.VMName=$VM.ExtensionData.Summary.Config.Name                         $VM_Info.Consolidation_Needed=$VM.ExtensionData.Summary.Runtime.ConsolidationNeeded                         $VM_Info.Tools_Status=$VM.ExtensionData.Guest.ToolsStatus                         $VM_Info.MemoryGB=$VM.MemoryGB                         $VMinfo +=$VM_Info                         $VM_Info |ft                                 }                         }
Got it! As I was not getting this stat after getting output of get-vm <vm-name> |get-stattype , I thought it doesn't exist from cli level. Should we always check from get-stattype about the st... See more...
Got it! As I was not getting this stat after getting output of get-vm <vm-name> |get-stattype , I thought it doesn't exist from cli level. Should we always check from get-stattype about the stat available for the object ? I was getting below stat listed for a VM get-vm <name>  |Get-StatType cpu.usage.average cpu.usagemhz.average cpu.ready.summation mem.usage.average mem.swapinRate.average mem.swapoutRate.average mem.vmmemctl.average mem.consumed.average mem.overhead.average disk.usage.average disk.maxTotalLatency.latest net.usage.average sys.uptime.latest cpu.cpuentitlement.latest mem.mementitlement.latest disk.used.latest disk.provisioned.latest disk.unshared.latest
Hi Team , I wanted to know if there is a way to get transmitted packet drops for a VM , I know the stat is available through powercli for host however checking if its available for a VM as wel... See more...
Hi Team , I wanted to know if there is a way to get transmitted packet drops for a VM , I know the stat is available through powercli for host however checking if its available for a VM as well. I can see the values for VM through Realtime Performance graphs Thanks!
There would be a drive missing in server..run a sanity check on server
check out below link download3.vmware.com/software/vmw-tools/guestreclaim/GuestReclaimReadMe.pdf
Please paste output of vmware.log file from VM folder
Modification of session-timeout value is not implemented in vSphere 5.0.As of now the default value is 30 min.May be we will have this feature in next version (vSphere 5.1)