Author name: Wiktor Mrówczyński

I’m a self-taught IT passionate who started this journey in 2013. From the beginning, I focused on Microsoft technologies with some sideroads along the way. I worked with the administration of IT systems, SQL databases, AD and other. Since 2018 my way turned to automation, integration and development area. Amongst others, the technology stack contains C# (ASP.NET, MVC), HTML, JavaScript, PowerShell, MSSQL, Azure, APIs (REST, SOAP). Contact Me!

Use PowerShell to integrate OpenAI GPT with context menu

Do you know that it’s possible to use PowerShell to integrate OpenAI GPT with context menu in Windows? It’s even really simple and with help of this article everyone can make it. In this example, I’ll add a new item to context menu (when you right click on a file). It appears only for PowerShell […]

Use PowerShell to integrate OpenAI GPT with context menu Read More »

Let OpenAI improve and correct your PowerShell code

In this article, I will describe a simple way to let OpenAI improve and correct your PowerShell code. It will contain 2 main functions: Get-CodeImprovementSuggestion and Get-CodeFixSuggestion. Both accept a ScriptBlock parameter. As names indicate, the first one checks in OpenAI if there are some possible improvements. The second one checks for errors. Both are

Let OpenAI improve and correct your PowerShell code Read More »

Increase maturity of PowerShell script with Mermaid diagram

Intro Recently I had a need to re-write one of my old scripts. It was a simple case: once a month send an email with the number of received and sent messages from the previous month for a shared mailbox. The original one used Exchange on-prem. The new one connects to Exchange Online. What seemed

Increase maturity of PowerShell script with Mermaid diagram Read More »

Synchronizing PowerShell scripts – allow only one instance at a time

Part 1 – Synchronizing PowerShell scripts – allow only one instance at a time (this article) Part 2 – Synchronizing PowerShell scripts – control the flow Introduction This is a first article from a short series about synchronizing PowerShell scripts in Windows environment. Today I’ll explain how to allow only one instance of a script

Synchronizing PowerShell scripts – allow only one instance at a time Read More »

Automate update of Selenium Web Driver (PowerShell)

What’s it all about? In this post, I’ll show how you can automate the update of Selenium Web Driver with PowerShell. Selenium is a great tool for web browser automation. It’s widely used for testing, robotic process automation, or just scripting. It can be easily used with PowerShell. The basic building block of Selenium is

Automate update of Selenium Web Driver (PowerShell) Read More »

PowerShell Interactive Menu – fun with System.Console class

UI in Powershell In the previous post, I finished short series about custom protocol handlers. Today I will focus on a different topic. I’ll describe how to use one of the most basic .net classes: System.Console to create a console-based, PowerShell Interactive Menu. It’s a fun, old-school experience – but it still might be useful

PowerShell Interactive Menu – fun with System.Console class Read More »

Custom Protocol Handler and PowerShell (Part 1)

When trying to search for the “Custom Protocol Handler” phrase in Google, we will most probably find some articles on how to allow running a local application from a website. It’s quite interesting. Normally a website doesn’t have access to execute commands or applications on a local (client) computer. But there is an ability to

Custom Protocol Handler and PowerShell (Part 1) Read More »

Scroll to Top