VMware vSphere PowerCLI 11.0 Released

vSphere PowerCLI has a great hand on automation in the vSphere environment and most of the VMware Administrators and Engineers  are using this for make operations very easy .VMware has been continuously improving vSphere PowerCLI capability by development lifecycle with PowerCLI  , and  VMware has released their new version of PowerCLI 11.0 few days before . […]

Read More

How to Enable Remote Desktop (RDP) Remotely Using PowerShell

Imagine about a situation where you cannot access your virtual machines through VM console and there is no RDP enabled and your Critical Application is Down .Recently I faced this challenge  and was not able to open windows 2012 R2 VM console from vSphere Web and  Thick Client and Application Down , its happened After […]

Read More

How to Backup or Recover SPBM with PowerCLI

We have discussed about the SPBM  and how to create SPBM on previous posts , today we are going to discuss about how can backup and restore the SPBM from Power CLI  . Why we need backup or restore operation on SPBM  Just imagine once the case we have to redeploy our vCenter which is […]

Read More

Collect vSwicth Information Using vSphere Power CLI

In this  Post  sharing the Script to collect the Virtual Standard Switch Information from vSPhere power cli to CSV file . You can Modify  the Location of the file to save and directly apply to vSPhere Cli Window or  you can save this as .PS1  extension and run  CLI window . Script  &{foreach($esx in Get-VMHost){ […]

Read More

Virtual Network Management in Standard Switch Using Power CLI

This Post will help you to understand and create multiple port groups , Esxi host network details for complete environment  . Note : Below  commands are used on vCenter with One host , it can be used multiple servers environment . List vSwitch Inventory  Get-VirtualSwitch List Portgroup Inventory  Get-VirtualPortGroup Create a Virtual Switch Get-VmHost | […]

Read More

Find Number of VCPU used in a Cluster and ESXi hosts

This Post explain how can we generate an output contains , Total number of vCpu used in an vCenter Cluster , also it shows many vCPU used per Esxi hosts .  If you have  multiple Cluster it is very easy to find same using below script. Connect-VIServer  “vCenter Name” $TotalNumvCPUs = 0 Foreach ($Cluster in (Get-Cluster |Sort Name)){ $HostNumvCPUs = 0 Write-Host “Cluster: $($Cluster.name)“ Foreach ($ESXHost in ($Cluster |Get-VMHost |Sort Name)){ […]

Read More

NTP Conflagration with Power CLI

Check NTP Services status  Get-VMHost | Get-VmHostService | Where-Object {$_.key -eq “ntpd”}                 Check Firewall exception configuration  Get-VMHost | Get-VMHostFirewallException | where {$_.Name -eq “NTP client”}               Enable the FirewallException to all ESXi Hosts Get-VMHost | Get-VMHostFirewallException | where {$_.Name -eq “NTP […]

Read More