PowerShell Compare-Hash Function

Quite some time ago I created a PowerShell function which allowed one to compare a given cryptographic hash against one locally generated to see if they match. Looking back on the old version (here is a link to the blog article https://www.bytesizedalex.com/powershell-cryptographic-hash-checker/) it is very much reminiscent of old school batch files. I decided now … Read morePowerShell Compare-Hash Function

VMware vCenter Certificate Management Default Values

If you have ever replaced VMware vCenter server certificates you will know that there are default values for common SSL/TLS certificate attributes, for example country code and organisation name. By default VMware have their own details for these attributes as shown below – Country – US E-mail – [email protected] Locality – Palo Alto Organisational Unit … Read moreVMware vCenter Certificate Management Default Values

Visual Studio Code and Team Services Integration

I finally got round to creating my colleagues and I an account on Microsoft Visual Studio Team Services (VSTS). If you haven’t looked into it then basically it is the cloud version of Microsoft Team Foundation Server (TFS) which is typically run within your own environment and managed internally. We have been looking to move … Read moreVisual Studio Code and Team Services Integration

Unexpected Large Page File Troubleshooting

This week one of my colleagues has been performing updates on our hypervisor hosts including those running Hyper-V. During this work we received alerts from our monitoring system to indicate two of the hosts had essentially run out of disk space, obviously a little worrying. We stopped the update process while troubleshooting was carried out … Read moreUnexpected Large Page File Troubleshooting

Get Windows NTFS Block Size

Windows systems write blocks of data to underlying storage – the size of these blocks is given various terms, for example – Block size Allocation unit Cluster size The important thing to consider is that this unit of allocation can have an impact on the performance of systems. By default Windows will format a disk … Read moreGet Windows NTFS Block Size

Trend Micro OfficeScan IIS 503.2 Error Work Around

One of my Trend Micro OfficeScan servers recently started to experience problems resulting in IIS 503.2 error messages being displayed. This was rather poor timing as I was actually in the process of migrating OfficeScan clients to this new server running version 12 or XG as they are calling it. After some work with Trend … Read moreTrend Micro OfficeScan IIS 503.2 Error Work Around

Set Cluster Log Size and Verbosity in Microsoft Server 2008 R2

Recently a critical cluster system had a bit of a hiccup wherein the SQL resource failed between nodes a few times and then gave up. Most of my clusters run on Microsoft Server 2012 R2 so I tend to use PowerShell for everything, in this case the cluster is an older one running Server 2008 … Read moreSet Cluster Log Size and Verbosity in Microsoft Server 2008 R2

Windows Server Core Expand Volume

I am trying to run as many of my Windows server home lab virtual machines (VM) as Core installs. This reduces the resource requirement for each VM in terms of drive space, memory and CPU – obviously a good thing in any environment. It also forces me to learn more ways of dealing with situations, … Read moreWindows Server Core Expand Volume

Hyper-V Enhanced Session Mode

Hyper-V Enhanced Session Mode (ESM) is a configurable option which enhances the Hyper-V virtual machine console providing options and features similar to an RDP client session. Configuring ESM can be achieved either via the Hyper-V Manager GUI or through PowerShell – obviously if you have many hosts to configure PowerShell is the way to go. Some … Read moreHyper-V Enhanced Session Mode

PowerShell Direct over Hyper-V VMBus

Today I learnt a little about an awesome feature which I think isn’t that well known – or at least when I speak to colleagues past and present they are not familiar with it. The feature in question is leveraging PowerShell on a Hyper-V host down the VMBus to a guest virtual machine. What exactly … Read morePowerShell Direct over Hyper-V VMBus