Related Articles
PowerShell – Create “Clean” Custom Objects From DataTable Object
I recently had a need to create “clean” PowerShell custom objects out of a DataTable object. What does that mean? Well, let me explain. When you try to get data out of SQL Server using PowerShell there are many ways to do it. Either you use Invoke-SQLCmd, SQL Server PowerShell (SQLPS), SQL Server Management Objects […]
PowerShell – Hash Table Get That Value
When writing scripts I like to use PowerShell ISE or VSCode a lot. It simplifies a lot of your daily scripting tasks like IntelliSense or Snippets. But sometimes these little helper don’t tell always the truth. Why? Well, I show you an example which is quite common. On problem there is if you are working […]
SCOM 2012 – Maintenance Mode Console Tool V 1.0
In my last post I published a GUI based tool to put Windows and UNIX/Linux computer into maintenance mode. After great success, there were requests to have some sort of scheduling mechanism for setting maintenance mode on a regular time schedule. Well, as I have mentioned in my previous post, there are many ways to […]