Automate NSX with Powershell without using the PowerNSX module

Currently, I’m working on a migration project where we are migrating VMs from a non-NSX legacy environment to a brand new NSX-enabled infrastructure. During the migration, I needed to apply NSX Security Tags in the destination environment. The tags needed to be applied based on the environment type e.g. Production and Development. And  I thought; Yeah! PowerNSX is going to make my life more easier now.


Find and remove duplicate vCenter instances registered with your PSC

Duplicate vCenter Instances registered with your Platform Services Controller can occur when you re-deploy a vCenter with the same name or in the same database. Duplicate vCenter instances can exist after a faulty certificate replacement as well.

Apart from the annoying ‘Can’t connect to vcenter.fqdn/sdk message, some features are relying on properly configured vCenters within your SSO domain. You can get issues with your License Manager or with tools like vSphere Replication.

To recover from such a situation please follow these steps:


NTP Compliancy: disable NTP sync with host completely (PowerCLI)

Last week I was identifying a root cause for a P1 outage my customer had suffered from. This customer has a business-critical application running 24/7 which is very important for all activities within the company. They had suffered an outage for at least three times last month, and therefore they requested my employer ITQ to perform a health check including a root cause analysis for the latest P1 incidents.