Encoding image files into a base64 string using Powershell

I was recently looking at encoding image files into a Base64 string to place directly into HTML and CSS, whilst there is a number of useful online tools to complete this task, I decided to have a look at performing this task using Windows Powershell. This can be achieved by using the [convert]::ToBase64String method and is … More Encoding image files into a base64 string using Powershell

VMware Tools Upgrade fails with vix error code 21009

On remediating virtual machines using the Update Manager, a number of VMware Tools upgrades would fail reporting the following: Error Upgrading VMware Tools vix error code = 21009 On investigation of vix error codes at https://www.vmware.com/support/developer/vix-api/vix16_reference/errors/errors.html there was error code reference for the above. So now it was time to look at the vmware.log file for … More VMware Tools Upgrade fails with vix error code 21009

Nagios XI: Host and Service details not being displayed

Recently, I was troubleshooting an issue with Nagios XI where host and service details where not being displayed from the web management console. On investigating the log file at ‘/var/log/messages’ there was a number of errors identifying that a table in the MySQL database was crashed and was required to be repaired. ndo2db: mysql_error: ‘Table … More Nagios XI: Host and Service details not being displayed

Using PowerCLI to manage multipath polices for SCSI devices

I was recently looking into multi path policies for all hosts in my clusters to firstly ensure that they were configured as expected. Firstly, I wanted to check if there were any SCSI devices that were not configured with the multipath policy of Round Robin using the Get-SCSILun cmdlet. Get-Cluster | Get-VMHost | Get-ScsiLun -LunType Disk | … More Using PowerCLI to manage multipath polices for SCSI devices