“I love DIY.”
That was how Jan-Philipp Thumser, an IT systems engineer at German rail operator Hessische Landesbahn (HLB), opened his presentation in our webinar on moving beyond DIY PowerShell automation. A few minutes later, he shows us a tiny Go application his team uses. When you open a link, it shows you a password. “That's extremely exciting, I know.”
What he likes about custom tools, Thumser said, is that they can “do exactly what you need, and also, very importantly, nothing else.” The trouble comes when scripts multiply over time, and then something breaks. A colleague trying to troubleshoot can be lost because “only you understand it.”
HLB had only a handful of PowerShell scripts when it adopted ScriptRunner in 2017. Back then, its engineers wrote the code for a job, and then ScriptRunner would give their colleagues a way to run it with the right permissions and log the run. Having that platform in place gave the team the confidence to take on more scripting projects.
“We like DIY. I, especially, like DIY,” said Thumser, "and we use ScriptRunner to mitigate the usual downsides and problems of going heavy with DIY.”
What the help desk can do with a script it didn’t write
That little password app sits at the end of a job HLB has handed over to its help desk. When a contractor needs an Active Directory account, an agent opens a form in ScriptRunner and selects the contractor’s company. The list comes straight from HLB’s directory. If the company is already there, the agent can create the account and the contractor gets an email with the password link.
Thumser also decided how long the password link should last. He set it to expire after seven days and deliberately kept that setting in the script. This way, if someone wants to change it, they have to make a Git commit, where they can explain why.
Showing the PowerShell behind the form, he points out how little code it takes to handle a credential. He declares a parameter of type PSCredential, and ScriptRunner supplies the credential when the script runs.
“No hard coding. This is the easiest way to do it.”
Who gets the call when it breaks?
Thumser described a scene familiar to anyone who has inherited a colleague’s scripts. Something breaks. Somebody remembers there’s documentation in Confluence. Suppose they even find it. Now, with people waiting, they have four, five, maybe six pages to read before they know where to look. It’s easy to see why the next call goes to whoever wrote the script.
At HLB, the engineer writing a script can use ordinary PowerShell output and ScriptRunner captures it in the run history. Each author who takes that route leaves a record the rest of the team already knows how to find. That’s what Thumser means when he says good practice becomes “the path of least resistance.”
When a contractor account fails to go through, the fellow employee can give Thumser the time and the note they entered when they ran the Action, ideally with a ticket reference. He can pull up that run and see what failed. And if the question is simply whether the job ran, nobody needs to call him.
“Even my boss can just log in,” Thumser says. His manager can see which Actions failed, when they last succeeded, and what the scripts reported. A new employee looking into a failed account request can start with the same evidence as the engineer who wrote the script.
Is your organization also exploring ways to use all the flexibility of PowerShell automation for Microsoft IT operations while avoiding the common pitfalls when it becomes infrastructure? Explore the HLB webinar or read the HLB customer story for more insights.



