Code

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.

read more
Office365 Safe Attachment Delay Report

Office365 Safe Attachment Delay Report

Recently the Helpdesk have been getting cases about slow delivery times due to Office 365 ATP Safe Attachments. We have created a script to retrieve the data from Exchange Online, and then used Power BI to visualize it.

read more
Resetting Password for Specific OU

Resetting Password for Specific OU

I created a powershell-script which will reset the password of all users in a specific Organizational Unit.

I prefer to set unique high-end passwords for all users. If you prefer a more ‘user friendly’ approach simply…

read more
MDT 2013 Set Computername with VBS

MDT 2013 Set Computername with VBS

Back in 2012 I wrote an article about dynamically setting a computer name during a Task Sequence. Here is my updated and improved script. I’m currently setting up a deployment solution running SCCM with MDT 2013…

read more
Remove App Packages in Windows 10 1607

Remove App Packages in Windows 10 1607

There are a few different approaches when it comes to cleaning up the Windows 10 deployment. I prefer to uninstall the built-in applications which my enterprise and customers have no need for.

read more
Detect and Elevate a PowerShell session

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…

read more
Microsoft Windows OS Versions

Microsoft Windows OS Versions

I recently ran into a GPO problem. My customer wanted to delegate different group policy settings on clients within a specific OU.
The OU contained numerous versions of Windows and all versions had different, OS version specific, settings.

read more