Deploy a vRealize Network Insight cluster using Lifecycle manager

The below steps assume you have an existing environment deployed and you’re simply wanting to add vRNI to it.Before you get started, please ensure that you have collected your IP information & have configured DNS entries for the platform and collector VMs. Log into vRLCM and go to the environments section: Find the environment you

 1,227 total views

PowerCLI Code Capture

For those of us still relatively new to PowerCLI and working towards automating as many robotic tasks as possible, there is a handy tool in vCenter called Code Capture. This has been available since vCenter Server Appliance (VCSA) 6.7U2 in the developer centre so its not exactly new but a lot of people don’t realise

 1,293 total views,  1 views today

Reconfigure your VMs following a vSphere Replication Failover

Unfortunately were not always lucky enough to have an awesome product like SRM to manage DR for us and we have to make do with the tools we have available. While vSphere replication will allow you to automatically replicate VMs between sites, that’s about it… once you fail over, it can be a long manual

 1,367 total views

Create unique host profiles for each host in a cluster

The below command will create a host profile for each host found in $global:CLUChoice, The profile will be named “VMhostName-Profile” and will include the date the profile was taken in the description $global:DCChoice – Datacenter$global:CLUChoice – Cluster Get-Datacenter $global:DCChoice | Get-Cluster $global:CLUChoice | Get-VMHost | ForEach-Object -Process { New-VMHostProfile -Name “$($_.Name)-Profile” -Description “$($_.Name)) Profile. This

 848 total views,  1 views today

Quickly add additional disks to your VMs

You have the option of either using the variable $VM to specify multiple VMs that require the same disk configuration, or you can manually enter the VM name in its place #Specify VMs $vm = Get-VM “*VM Name*” #Add a thick provisioned, Eager Zeroed disk to 1 or more VMs: New-HardDisk -StorageFormat EagerZeroedThick -Controller “SCSI

 940 total views

List DRS Recommendations and apply them

Heres a function i put together that pulls a list of DRS recommendations for your chosen cluster then asks whether you want to apply them. It uses my usual variables from my menu system $Global:DCChoice – Datacenter Choice$global:CLUChoice – Cluster Choice #Apply DRS recomendations? function VP-ApplyDRSRecommendations { Get-Datacenter $global:DCChoice | Get-Cluster $global:CLUChoice | Get-DrsRecommendation Write-Host

 1,192 total views