Posts

Showing posts from October, 2024

Error when creating a Microsoft Failover Cluster Cloud Quorum: "An error occurred while validating access to Azure from cluster node 'servername"

Image
When you try and configure a Cloud Witness in a Microsoft Failover Cluster you may find you receive the following error. An error occurred while validating access to Azure from cluster node ‘nodename’. Verify the Azure storage account name, storage account type, storage account key, and network connectivity over HTTPS. This error is very misleading as it can occur when there's an existing Cloud Witness in the cluster core resources.

Get the hardware manufacturer name of the TPM in Windows PowerShell from Win32_TPM WMI class

When using the Win32_TPM class you can get the manufacturer name from the ManufacturerIdTxt property on Windows Server 2019 and above. For older operating systems you can convert the numeric ManufacturerId property to it's string value using the following PowerShell command as the value is actually an ASCII encoded string stored as an integer. $tpm = Get-CimInstance -Namespace "root\CIMV2\Security\MicrosoftTpm" -ClassName "Win32_Tpm" ; $bytes = [ System.BitConverter ]:: GetBytes( $tpm . ManufacturerId); [ System.Array ]:: Reverse( $bytes ); $manufacturer = [ System.Text.Encoding ]:: ASCII . GetString( $bytes );