Welcome to the Jocha blog!

Windows 8 can’t find WSUS updates

A customer of mine recently started deploying Windows 8 in their environment. MDT was set up and the deployment was working fine, but after deployment the Windows 8 machines wouldn’t connect to the WSUS server.

When trying to connect to the WSUS-server through the Control Panel I got an error message.

Breaking into a Windows System

Do you ever get that sinking feeling, when you’ve forgotten the root password to your test lab?  Again?

I hate it too!  So I decided to figure out a way around it, using a work around…

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…

Azure Backup Mail Report Script

Jocha previously released a very popular mail report-script for Windows Backup. A downside with the new Azure backup-agent is that it did not offer mail reports… until today!

Installing .NET Framework on Windows 8 and 2012

I have been struggling a bit with adding .NET Framework 3.5 on a few systems (and reference image for MDT). The posts on MSDN and TechNet are good, but not always crystal clear.

Here is how I solved the issues we were experiencing…

Automate App Registration Secret Expiry Alerts

Automate App Registration Secret Expiry Alerts

Expired application secrets are one of the most common causes of silent production outages in Microsoft 365 environments. An app registration in Entra ID powers everything from automated workflows and API integrations to third-party SaaS connectors. When its client...

Automate Entra Guest User Lifecycle with PowerShell

Automate Entra Guest User Lifecycle with PowerShell

Learn how to automate the full Entra ID guest user lifecycle using PowerShell and the Microsoft Graph API. This guide covers discovery, stale account detection, notification emails, and safe two-phase removal to keep your Microsoft 365 tenant clean and compliant.

Automating MFA Audits in Entra ID with PowerShell

Automating MFA Audits in Entra ID with PowerShell

Learn how to audit MFA registration status across your entire Microsoft Entra ID tenant using PowerShell and the Microsoft Graph API. Includes filtering, CSV export, and a fully automated scheduled reporting script.

App-Only Auth for Microsoft Graph with PowerShell

App-Only Auth for Microsoft Graph with PowerShell

A step-by-step guide to creating an Entra ID app registration, generating a self-signed certificate, assigning Microsoft Graph API permissions, and connecting with PowerShell for fully unattended automation.

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.