Sometimes you need to check the PowerShell version of your Windows System, to get the PowerShell version you need to
Continue readingGet external IP Address using PowerShell
In some cases it can be useful to check your external IP Address within a PowerShell script. So I created
Continue readingCreate PowerShell monitor SCOM
With scripts you can monitor almost everything in SCOM. Out of the box SCOM uses mostly VBScript instead of PowerShell,
Continue readingAccess to the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication’ is denied.
There are two ways to solve this: 1. Run VEEAM PowerShell always as Administrator 2. Change the permissions of the
Continue readingMonitor JEE Java applications with SCOM
It’s possible to monitor the mbeams provided by the java engines with SCOM. Out of the box SCOM Doesn’t discover
Continue readingDebug SCOM Agent
Sometimes it’s unclear what the error messages are when the SCOM Agent is running an VB or PowerShell script. Or
Continue readingPowerShell Rest API programming
With the PowerShell invoke-restmethod command it’s possible to interact with a REST based API.In the following script I’ve added a
Continue readingAdd VM to VEEAM Backup job using PowerShell
I created a simple PowerShell function to add VM’s in a VEEAM backup job. This script has 2 options, enable
Continue readingMonitor VMM Job using PowerShell
In SCVMM there is no option to send a mail when a job is completed. This can be archived with
Continue readingCompact Dynamic VHDx file
There are many ways to compact a VHDx file. It can be done using SCVMM, Hyper-V manager or even diskpart.
Continue reading