jvm2016's Posts

am i not supposed to get rario of   cpu.usagemhz.average and esxi cpu core MHZ to find cpu percentage??
so inoder to get actual requirement of vms where cpu avg percentage is less than 8 percent for last 30 days  i need to put one more pipe  of |?{$_ -le "8"}} in below .can yu please check in lab if t... See more...
so inoder to get actual requirement of vms where cpu avg percentage is less than 8 percent for last 30 days  i need to put one more pipe  of |?{$_ -le "8"}} in below .can yu please check in lab if this gives correct result. E={[Math]::Round((($_ | Get-Stat -Stat cpu.usagemhz.average -Start (Get-Date).AddDays(-30) -IntervalMins 5 | Measure-Object Value -Average).Average),2)}}
also below is what gives avarage value  but i need percentage is there any direct property for percentage also similar to  cpu.usagemhz.average       Get-VM | Where {$_.PowerState -eq "PoweredO... See more...
also below is what gives avarage value  but i need percentage is there any direct property for percentage also similar to  cpu.usagemhz.average       Get-VM | Where {$_.PowerState -eq "PoweredOn"} | Select Name, @{N="CPU Usage (Average), Mhz" ; E={[Math]::Round((($_ | Get-Stat -Stat cpu.usagemhz.average -Start (Get-Date).AddDays(-30) -IntervalMins 5 | Measure-Object Value -Average).Average),2)}} Export-Csv -Path c:AverageUsage.csv
HI Luc , can yu suggest on the following requirement? need to create report where cpu utilization of vms  is less than 8 percent for last one month . do i need to enable stat level 3 for this  on ... See more...
HI Luc , can yu suggest on the following requirement? need to create report where cpu utilization of vms  is less than 8 percent for last one month . do i need to enable stat level 3 for this  on vcenter ??  
  • Hi
ok thnaks.
i am turning off the policy also .however what method should i use to disable firewall ruleset for "cimhttpserver","cimhttpsserver","cimslp" powercli version is 11.5  
Hi Luc, we need to disable cim agent on all esxi in vcenter .if yu can check attached script and suggest if any modification needed. do we need to block the ports also in security profile of esxi .... See more...
Hi Luc, we need to disable cim agent on all esxi in vcenter .if yu can check attached script and suggest if any modification needed. do we need to block the ports also in security profile of esxi .if yes what additional code to be added.  
thanks .will it be same as disabling the extension from mob . also are you advising the workaround mentioned in kB.
https://kb.vmware.com/s/article/82374 hi all can someone check the above article and suggest if its the right way of reducing vulnerability. will disabling plugin wont affect the functionality of v... See more...
https://kb.vmware.com/s/article/82374 hi all can someone check the above article and suggest if its the right way of reducing vulnerability. will disabling plugin wont affect the functionality of vrops . any help is much appreciated.
its a new question ....
we are upgrading srm . and this environment has other vmware soultions also  like vsan,vrops,nsx,updatemanager .before upgarding its been suggested to check in interoperability matrix . i am check... See more...
we are upgrading srm . and this environment has other vmware soultions also  like vsan,vrops,nsx,updatemanager .before upgarding its been suggested to check in interoperability matrix . i am checking all solutions against 6.5u3l(6.5.0.33100)  vcenter versinon .
6.5u3l(6.5.0.33100)        is this available as 6.5u3 or 6.5u3l in vmware interoperability matrix.
we found after vcenter upgrade srm version becomes incompatible .so we are planning upgade of srm . if yu could suggest if there is a way to find list of vms protected by srm  through powercli. som... See more...
we found after vcenter upgrade srm version becomes incompatible .so we are planning upgade of srm . if yu could suggest if there is a way to find list of vms protected by srm  through powercli. something like below  SRM-com.vmware.vcDr:::protected
HI All, can someone suggest the correct sequence of upgrading the vsphere solutions . we have nsx ,vsan,vrops,srm  and we are willing to upgrade srm . do we need to upgrade other components also .... See more...
HI All, can someone suggest the correct sequence of upgrading the vsphere solutions . we have nsx ,vsan,vrops,srm  and we are willing to upgrade srm . do we need to upgrade other components also .    
Hi Luc , i m trying to use get-eventlog powershell command to find if it gives information about why windows srm service failed to start on srm server. is there any way it can give more info ab... See more...
Hi Luc , i m trying to use get-eventlog powershell command to find if it gives information about why windows srm service failed to start on srm server. is there any way it can give more info abut why service failed to start .
without comma i cant get the proper output .i m unable to send the .csv file due to security reasons.
well its working now with comma ...
i put comma after each esxi name .it is working now .however i did this multiple times in past and for a single column i did not use coma and it used to work... esxiname esxi1.script-infra.lo... See more...
i put comma after each esxi name .it is working now .however i did this multiple times in past and for a single column i did not use coma and it used to work... esxiname esxi1.script-infra.local,                            esxi2.script-infra.local,                               esxi3.script--infra.local,                              
$v.length issame as sum of individual charecters.
its not there as i m able to use get-vmhost $v when i run individually . moreover the space seems to come at the end of the fqdn dont know how it happened .