Welcome to the Jocha blog!

Windows Backup Mail Report Script

Background Jocha work with a lot of startup companies and small-business owners, which is great in so many ways. While it gives us the possibility to design and set everything up from scratch, with all the best practices, it usually means working with a smaller budget...

Azure Backup internal error (ID: 130001)

When installing the Azure Backup Agent you need to supply your vault credentials.
If doing so incorrectly you will get the following error…

Detect and Elevate a PowerShell session

We’ve set out to help a customer with automation within their IT department.
Some daily tasks require an elevated prompt, there is no way around it. But it’s not obvious how to check if the current prompt is elevated, or how to elevate the session. So here is a how-to…

Change the Azure AD Sync Schedule

I finally I got some time to play with the new Azure Active Directory Sync tool and its configuration.

The installation was very straight forward. The step-by-step instruction are provided on MSDN. The administration tools and scripts are located in difference places compared to DirSync which was little confusing in the beginning.

Disable Hardware Acceleration in Outlook 2013

Not all computers work better with hardware acceleration, especially those with incompatible drivers.

A couple of users contacted me asking about “white screens” and freezes in Outlook 2013. The simple solution is to disable the hardware acceleration…

PowerShell MCP server with Claude Code

PowerShell MCP server with Claude Code

PowerShell can now act as an MCP server, giving AI agents like Claude direct access to your shell session. This post walks through installing and configuring PowerShell.MCP with Claude Code and covers practical IT automation scenarios.

Leveraging AGENTS.md for smarter prompting

Leveraging AGENTS.md for smarter prompting

AGENTS.md is more than a cross-tool fallback config. Structured well for your Azure and Microsoft 365 environment, it eliminates the repetitive context you type at the start of every session and makes every prompt shorter and more precise.

Configuring Claude Code with CLAUDE.md

Configuring Claude Code with CLAUDE.md

A practical guide to configuring Claude Code with CLAUDE.md and AGENTS.md, covering file locations, what rules to include, how to organize rules for larger projects, and how to deploy organization-wide policy files.

Automating Entra ID Group Management with PowerShell

Automating Entra ID Group Management with PowerShell

Introduction Managing groups in Entra ID (formerly Azure Active Directory) through the Azure Portal works fine for a handful of changes, but quickly becomes tedious at scale. Whether you're onboarding a batch of new employees, restructuring departments, or cleaning up...

Azure infrastructure with Bicep and GitHub Actions

Azure infrastructure with Bicep and GitHub Actions

Introduction ARM templates have long been the go-to for declarative Azure infrastructure, but their verbose JSON syntax makes them painful to read and maintain. Bicep is Microsoft's answer: a cleaner domain-specific language that compiles down to ARM JSON. Pair it...

IT report automation with PowerShell

IT report automation with PowerShell

Most IT teams generate the same reports week after week: license usage, stale accounts, patch compliance, group membership changes. Done manually, these are tedious and easy to forget. Done with PowerShell and GitHub Actions, they run themselves on a schedule and land...

Building an MCP server for IT infrastructure

Building an MCP server for IT infrastructure

A walkthrough of building a Python MCP server that gives Claude live access to Microsoft Intune, Entra ID, and Defender for Endpoint, querying your infrastructure directly from the chat window.