A cmdlet around the endpoint, or a cmdlet per method? Disclaimer: every REST API works different, so this script should be an example of how you can build a function for each REST API. Nowadays there are more and more Rest APIs that we can use instead of Cmdlets (which use the Rest API in … Continue reading How to manage most Rest APIs with just a few PowerShell functions
How to stringify nested Json in PowerShell and back to a PSObject
Stringify dynamic child properties in Json with PowerShell I had a fun one yesterday that I want to share here. We have a database at work (new job at InSpark), in the database we have a table in which we can create a row ourselves by making a request via a put method. The row … Continue reading How to stringify nested Json in PowerShell and back to a PSObject
10 years of blogging – What a ride!
10 years Wow, time flies! I started blogging back in February 2015, and here we are 10 years later—258 posts, thousands of visitors, and at my peak, 25,000 visitors a month. Oh, and the cherry on top? I even got an MVP award for it. How it all started During my internship, I got into … Continue reading 10 years of blogging – What a ride!
FIX: Windows taskbar showing only half the date
How to fix Windows taskbar showing only half of the date Windows automatically adjusts the way the date and time are displayed based on factors such as taskbar size, screen resolution, and display scaling. Sometimes, after an update or a change in system settings, the taskbar might not have enough space to display the full … Continue reading FIX: Windows taskbar showing only half the date
How to enable or disable smooth scrolling system wide in Windows
Smooth scrolling, enabled or disabled? Smooth scrolling is a visual effect that makes scrolling through content (like web pages, lists, or menus) feel more fluid and natural. Instead of jumping abruptly from one section to another, the content glides smoothly, making the experience more pleasant, especially if you’re using a scroll wheel or touchpad. Depending … Continue reading How to enable or disable smooth scrolling system wide in Windows
FIX: (Re-)install the Windows Snipping Tool
What if the Snipping Tool doesn’t work or start anymore? I mostly use Greenshot, but sometimes it’s not the best tool for capturing certain elements. That’s when I rely on the Snipping Tool. But what if the built-in Snipping Tool in Windows stops working? Below are some steps you can try to fix it. Install … Continue reading FIX: (Re-)install the Windows Snipping Tool
How to enable auto Energy Saver when unplugged from charger in Windows
Saving Battery is important when you’re in meetings with a “gaming” device I have an expensive Lenovo that drains battery quickly, so it’s important that my device doesn’t run out of power within an hour when I’m in a meeting or on the go. I want to enable Battery Saver, but I don’t want it … Continue reading How to enable auto Energy Saver when unplugged from charger in Windows
FIX: error: cannot stat ‘…example.json’: Filename too long
Filenames too long in a main repository that you cannot update directly? So, I ran in this issue when I tried to pull a new branch and tried to merge main into it. I had a list of files where the filename were too long, so I won’t share all of them with you, but … Continue reading FIX: error: cannot stat ‘…example.json’: Filename too long
FIX: The following untracked working tree files would be overwritten by checkout GIT
Untracked files when switching branches? So, you’re trying to switch branches with Git, and you run into this error: This situation typically arises in a few scenarios: So, what untracked files is Git talking about? Before going we’ll fix this, let’s check what Git means. You can open Git Bash, PowerShell, or whatever IDE you’re … Continue reading FIX: The following untracked working tree files would be overwritten by checkout GIT
FIX: Your account doesn’t work with To Do – Personal Microsoft Account
How to Resolve Microsoft To-Do Access Issues for Personal Microsoft Accounts You’re trying to access Microsoft To Do, but you’re greeted with this error (translated below): Your account doesn’t work with To DoYour account isn’t on Exchange Online, so Microsoft To Do doesn’t support it. Contact your IT administrator for more information. That’s weird because … Continue reading FIX: Your account doesn’t work with To Do – Personal Microsoft Account