There are not enough GCs available – SCOM AD Management Pack

override-configuration

When using System Center Operations Manager (SCOM) to monitor Active Directory with Client Side monitoring the following warning could appear in the console AD Client GC Availability : There are not enough GCs available. There are fewer GCs configured than are specified as the minimum number of available GCs. Available GCs: 1 Minimum GCs: 3 … Continue reading There are not enough GCs available – SCOM AD Management Pack

Hyper-V VM Load Firmware Failed

Hyper-V_Load_Firmware

I was deploying a new virtual machine in my lab to write an article and was in need of disabling Secure Boot. When I accessed the VM's properties the Load Firmware Failed error message was displayed in the settings page The easy and dirty workaround to this error message is deleting the boot files which but as … Continue reading Hyper-V VM Load Firmware Failed

Export Mailbox Content in Date Range with non US Locale

PowerShell Export Mailbox

In this  article I have described how you can use PowerShell to export mailbox content in a date range but as correctly user Gavin commented: This doesn’t work if you are using any other regional date format than the US format. The statement is absolutely accurate as in the post I forgot to mention that no matter … Continue reading Export Mailbox Content in Date Range with non US Locale

PowerShell Calculate First and Last Day in a Month

Today I was writing a script to rotate some log files on a machine, as for regulatory reasons I need to keep logs for a number of years I thought to archive files on a monthly basis so to make archival easier. My main goal is not locking myself into a script that would simply … Continue reading PowerShell Calculate First and Last Day in a Month

PowerShell Studio Preset – HeloCheck Dark Editor Preset

One of the tools I most often use in my daily work, in addition to LaTeX but this is another story, is PowerShell Studio by SAPIEN. If you don't know the tool PowerShell Studio takes PowerShell capabilities to the next level allowing you to easily create front-end GUIs for your Scripts for example I have … Continue reading PowerShell Studio Preset – HeloCheck Dark Editor Preset

PowerShell check if Variable is null – Do $myVar has a value?

Sometimes when writing a script it can be useful to check if a variable is null or does contain a value so to make decision. How do I check if a variable is null? The standard if -eq $null approach does not working when dealing with variables so this is not something that will work if ($myVar … Continue reading PowerShell check if Variable is null – Do $myVar has a value?