For instructions on how to connect to VMware PowerCLI, Follow the post here: Run the below to get the list of orphaned VM Run the below to remove orphaned VM
PowerCli- Script to reconfigure the default alarm email address on the vCenter server.
Using the GUI to set up email alerts for the default alarm might be time-consuming. In this post I will show you how to use VMware PowerCLi to automate re-configuring the existing, Default alarms with the notification email address. You will need VMware PowerCLi to run through this. if you dont have this installed already, […]
Add a user to VCSA
add user allow user to ssh to the appliance change default shell to bash for ssh to work.
Installing RealTek Nic on Esxi (Esxi white box)
Desktop hardware’s are normally include Realtek nic which do now work in a base install of Esxi. In this article, The below post will walk you through steps to get Realtek nic working Determine the nic hardware by running the below command: Run the below command to switch the acceptance level to community support (the […]
cron jobs on vcsa 6.7
permission for cron file must be 666 or 700 an example can be found in the attachment for https://kb.vmware.com/s/article/54526 (use WinRAR to extract the attachment, the file shows up as corrupt otherwise)
vCenter Webclient logon screen glitches after upgrade
After vCenter upgrade, the Logon screen is improperly formatted and might look like the below: the text would read like the below: or This is because the STS banner flag has an inappropriate data. Inorder to fix this, download and connect to the sso using jxplorer: https://kb.vmware.com/s/article/2077170 Note: Take a snapshot of the PSC/backup the […]
openssl to export private key from a pfx
export pvt key from pfx file!!, works with lets encrypt!! export the pfx from mmc> local computer>personal the out.txe should have the key and the certificate chain!
SQL: query to change Default DB schema back to dbo
Replace custom_schema with the schema on the databaseReplace dbo with the schema you want the table to have Note: The above query only creates commands that can be used to change the schema. you will need to run the output of the above command.
vcsa certificate store (global sigining root)
location /etc/pki/tls/certs
Duplicate STS signing certificates can cause authentication failure.
Log: The duplicate certificate needs to be deleted via jxplorer, refer to the screenshot above (from the above example, trustedcertchain-2 and trusted credential-2 had the same certificate which had to be deleted from the system)