POWERCLI

By: Rajesh Radhakrishnan

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...

22/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

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...

14/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

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...

11/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

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”}            ...

06/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

CBT Management with Power CLI

List all virtual machines where CBT enabled  Get-VM| Where-Object{$_.ExtensionData.Config.ChangeTrackingEnabled -eq $true} Check specific virtual machines where CBT enabled  Get-VM  “TEST-VM-01” | Where-Object{$_.ExtensionData.Config.ChangeTrackingEnabled -eq $true} List all virtuals machine where CBT disabled Get-VM| Where-Object{$_.ExtensionData.Config.ChangeTrackingEnabled -eq $false} Check specific virtual machines where...

06/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

Snapshot Management with Power CLI

Command to list the  properties of snapshot  using  power cli get-vm | get-snapshot | format-list Description Created Quiesced PowerState VM VMId Parent ParentSnapshotId ParentSnapshot Children SizeMB IsCurrent IsReplaySupported ExtensionData Id Name Uid Generate complete snapshot inventory with few details  ...

06/02/2018
Published 4 weeks ago
By: Rajesh Radhakrishnan

Power CLI Command to List Connected Disks to ESXi Hosts

Get connected disk details including name , Multipathing , LunType  of all ESXI HOSTS in vCenter Get-VMHost | Get-ScsiLun -LunType disk User below command to export all the details to CSV Get-VMHost | Get-ScsiLun -LunType disk |export-csv C:\diskinfo.csv Get connected disk details...

05/02/2018
Published 4 weeks ago