Related Articles
SCOM – Save a Connection String for Use in a PowerShell Script
Sometimes it is necessary to store certain information in a (secure) way, like a connection string, which you might want to use in your PowerShell scripts. The scripts could be then used e.g for the Command Notification Channel. Let’s assume you need to connect to a foreign system and this system provides you with a […]
SCOM – Exchange 2010 MP “extest_” User (?)
Have you ever installed the Exchange 2010 management pack? If you follow the management pack guide there will be a section where you can enable the synthetic transaction tests for the Exchange. Those synthetic transactions will perform several tests on your Exchange infrastructure and warn you if there is a problem with your mail flow. […]
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 […]