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 […]
SCOM 2012 – Display & Download MPs Using PowerShell Widgets
A nice and sexy way to have the latest management packs at your fingertips is using the new PowerShell widgets. The SCOM product team shows in their example how you could list the management packs using the PowerShell Grid widget. Stanislav Zhelyazkov also provided a script to fully download all management packs with PowerShell. I […]
ARM Template – Deployment Error “[Subscription().SubscriptionId]” The request is invalid…
Recently I authored some ARM stuff in Visual Studio and I had a need for getting the current subscription ID the template is being deployed to. So there is a helper function you can call like this… “subscriptionId”: “[subscription().subscriptionId]” I used it in the template like this… …but as soon I tried to deploy the […]