PowerShell ConvertFrom-StringData, Turning Raw Text Into Usable Data

Today I learned something new in PowerShell.

I was working on a workflow where I had to move a PowerShell object from one activity to another. The problem was, I could only pass it as a string.

So I had the data as string, but not my loved object anymore 😄

That was the moment where `ConvertFrom-StringData` was really useful. It helped me convert simple `Key=Value` string data back into something PowerShell can work with properly.

I am using PowerShell for a long time, but this cmdlet was new for me. And funny enough, I had situations before where I could have used exactly this.

Small cmdlet, big help.

That is what I like about PowerShell. It does not matter how long you work with it, there is always something new to learn.

I wrote a short blog post about it

#PowerShell #PowerShellScripting #Microsoft #Learning

Using JSON in SQL Quicktipp

I had a situation recently where I needed to filter specific offboarding tasks from my database. Sounds simple at first, but the challenge was that the relevant information was not stored in its own column, it was inside a JSON field. In my case, the table stores requests from au2mator. Every request can have differentContinue reading “Using JSON in SQL Quicktipp”

Trigger Azure Automation Runbooks Using the Azure Management API

  Introduction This lines providing you step-by-step instructions on how to use a PowerShell script to trigger an Azure Automation Runbook using Azure REST API. We will explore each step from setting up authentication to retrieving the execution output of the runbook. Prerequisites Before starting, ensure that you have the following: Azure Subscription: You needContinue reading “Trigger Azure Automation Runbooks Using the Azure Management API”

LIFO & FIFO with Powershell

In this Post i will explain how we can Use Stack’s & Queue’s in Powershell. It is nothing specail but sometimes very helpfull to know ! Last in First out (LIFO) LIFO is nothing more than a stack. An example of a stack would be the back button in many programs. The previouse value weContinue reading “LIFO & FIFO with Powershell”