• Home
    • Powershell
    • Fundamentals
    • Beginner
    • Intermediate
    • Advanced
    • Deep Dive
    • PowerShell
    • Quick Learnings
    • Troubleshooting
  • Archive
    • Jos
    • Casper
  • Finding the Right ConvertTo-Json -Depth Automatically in PowerShell

    Jos Fissering

    17 August 2026
    Beginner, Intermediate, PowerShell

    Learn how to calculate the maximum depth of a JSON object in PowerShell using a recursive approach. This article explains the logic behind the Get-JsonDepth function, discusses why arbitrary depth limits should be avoided, and explores the balance between accuracy, maintainability, and performance when traversing complex object graphs.

  • PowerShell Remoting over SSH: Managing Linux from the PowerShell Console

    Jos Fissering

    3 August 2026
    Intermediate, PowerShell, Troubleshooting

    PowerShell Remoting over SSH combines the power of PowerShell with the universal availability of SSH. Especially in environments where both Windows and Linux systems are managed, it provides a modern and flexible way of working.

  • A way to Secure Credentials in Your PowerShell Scripts

    Jos Fissering

    15 December 2025
    Beginner, Intermediate, PowerShell, Quick Learnings

    Storing credentials in plain text within scripts is a common but risky practice. While it may seem convenient for automation, it exposes sensitive data to anyone with access to the code. In this article, we explore a safer approach using PowerShell’s ConvertTo-SecureString and ConvertFrom-SecureString to encrypt passwords tied to a specific user and machine. This method significantly reduces the risk of credential leaks while keeping automation seamless.

  • Scheduling PowerShell Scripts with PowerShell’s Scheduled Task Cmdlets

    Casper Stekelenburg

    8 December 2025
    Beginner, Quick Learnings

    When automating tasks on Windows, PowerShell scripts often handle the heavy lifting—but automation isn’t complete until those scripts run on their own. While many admins still use the graphical Task Scheduler, PowerShell provides a full set of cmdlets that make creating, managing, and automating scheduled tasks easier, faster, and more repeatable. In this guide, we’ll walk through how to schedule PowerShell scripts entirely through PowerShell using cmdlets like New-ScheduledTaskAction, New-ScheduledTaskTrigger, and Register-ScheduledTask. We’ll also explore best practices, logging, credentials, and common pitfalls. Why Use PowerShell for Scheduling Tasks? Using PowerShell instead of the Task Scheduler GUI offers several advantages: The Cmdlets You Need…

  • When Automation Goes Wrong: A Painful Lesson in PowerShell

    Jos Fissering

    1 December 2025
    Beginner, Intermediate, PowerShell, Troubleshooting

    Have you ever written a script that worked perfectly in testing, only to cause chaos in production? I have, and it was one of the most stressful days of my career. This experience changed how I write scripts. More checks, fewer assumptions, and no blind trust in defaults.

  • Switch Statements in PowerShell: The Swiss Army Knife of Decision Making

    Casper Stekelenburg

    24 November 2025
    Intermediate, PowerShell, Quick Learnings

    Switch statements in PowerShell are like the Swiss Army knife of control flow – they can handle multiple conditions with the elegance of a ballet dancer and the efficiency of a German engineer. Think of them as the sophisticated cousin of the if-else statement who went to college, learned multiple languages, and now works at a consulting firm. While if-else chains are like asking “Are you this? No? How about this? No? This?” until you find the right answer (or give up and cry), switch statements are more like having a well-organized filing cabinet where you can instantly pull out…

1 2 3 … 10
Next Page

Latest Posts

  • RSS Feed

  • Finding the Right ConvertTo-Json -Depth Automatically in PowerShell17 August 2026
  • PowerShell Remoting over SSH: Managing Linux from the PowerShell Console3 August 2026
  • A way to Secure Credentials in Your PowerShell Scripts15 December 2025
  • Scheduling PowerShell Scripts with PowerShell’s Scheduled Task Cmdlets8 December 2025
  • When Automation Goes Wrong: A Painful Lesson in PowerShell1 December 2025

Advanced Beginner Deep Dive Fundamentals Intermediate PowerShell Quick Learnings Troubleshooting


Archive

  • August 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024

Tulips, Windmills & PowerShell: Dutch Scripting Guys

Privacy Policy