Sudarshan_Bhart's Posts

Did anyone find out a solution to this problem?
Get-View -ViewType VirtualMachine -Filter @{"snapshot" = ""} -Property Name | % {Get-VM -id $_.MoRef | Get-Snapshot}
You can make a script and call it using Shell_Exec() and Echo the output on webpage.
Is there any way to filter events on a Datastore to monitor the tasks happened?
Any suggestion/guidance in determining NIC Speed in VM via scrip?
Solved by deleting old logs folder in /var/log/remote/<folders>.
Thank you Luc! Even this script doesn't cover Network Switch and ESXi Host Diagram. I am able to list Network Switch and other information similar to Datastore but it is simply increasing the num... See more...
Thank you Luc! Even this script doesn't cover Network Switch and ESXi Host Diagram. I am able to list Network Switch and other information similar to Datastore but it is simply increasing the number of objects in the file. I want to optimize it and remove the duplicate vSwitch objects in the diagram.
Hello All I had tried everything as my per limits however couldn't find anything on creating Network Diagram in MS Visio of any Cluster Hosts to connected all the Network Switche/Ports. Did any... See more...
Hello All I had tried everything as my per limits however couldn't find anything on creating Network Diagram in MS Visio of any Cluster Hosts to connected all the Network Switche/Ports. Did anyone try something or want to contribute his/her idea on this?
Thanks. Let me try today and update.
Hello All I am running a script to extract VM Information including vCPU, Memory, OS, Disks, Partition Size, RDM, IP Address, vCenter, VMX, VMDK etc. For PortGroup name, I am using below metho... See more...
Hello All I am running a script to extract VM Information including vCPU, Memory, OS, Disks, Partition Size, RDM, IP Address, vCenter, VMX, VMDK etc. For PortGroup name, I am using below method $vm = Get-VM myvm1.domain.com $vm | Get-NetworkAdapter | Select -ExpandProperty NetworkName which is increasing my script output time for an vCenter Server managing 2000+ VMs. I could extract everything else with Get-VM and would like to find out if there any option/way to find out PortGroup name with Get-VM too. Please suggest.
This one looks good VMware vSphere Version Comparison | Virten.net
Remove VM from inventory and Add it to inventory again. It will work.
Refer http://sudarshanbharti.blogspot.com.
I am trying to patch ESXi 5.5 4345813 with vCenter Server 5.5 3721164. But getting error during scan. Its working fine with another ESXi 5.5 2068190. "The host returns esxupdate error code:99. A... See more...
I am trying to patch ESXi 5.5 4345813 with vCenter Server 5.5 3721164. But getting error during scan. Its working fine with another ESXi 5.5 2068190. "The host returns esxupdate error code:99. An unhandled exception was encountered. Check the Update Manager log files and esxupdate log files for more details."
vSphere 6.5 is yet to be released publicly so you need to wait till Dec 2016 to have the final answer.
Need to fix the DNS in this issue. Please make sure client is able to ping the ESXi host by its FQDN and IP Address. In my case, all the ESXi Hosts registered with FQDN in vCenter and details up... See more...
Need to fix the DNS in this issue. Please make sure client is able to ping the ESXi host by its FQDN and IP Address. In my case, all the ESXi Hosts registered with FQDN in vCenter and details updated in host file (sadly no DNS records for ESXi Hosts). So I just need to update the host file and it starts working for any problematic/new client.
Hello Alan Below mentioned line is not working for me. No information for this column in the report. $NetworkInfo.vSwitch = Get-Virtualswitch -VMHost (Get-VMHost ($vmhost.Name)) | where {$_... See more...
Hello Alan Below mentioned line is not working for me. No information for this column in the report. $NetworkInfo.vSwitch = Get-Virtualswitch -VMHost (Get-VMHost ($vmhost.Name)) | where {$_.Nic -eq ($Hint.Device)}  Any suggestion on this will be highly appreciated. Thanks Sudarshan Bharti
Ensure that there is no snapshot appearing in Snapshot Manager.
There is no need of ROOT or SU to run commands as privileged user in ESXi 5.0 or later. You can use AD Authentication and "ESX Admins" group to provide privileged access to users wants to run any... See more...
There is no need of ROOT or SU to run commands as privileged user in ESXi 5.0 or later. You can use AD Authentication and "ESX Admins" group to provide privileged access to users wants to run any command via SSH.