• Home
    • Powershell
    • Fundamentals
    • Beginner
    • Intermediate
    • Advanced
    • Deep Dive
    • PowerShell
    • Quick Learnings
    • Troubleshooting
  • Archive
    • Jos
    • Casper
  • Working with Files and Directories in PowerShell

    Casper Stekelenburg

    18 August 2025
    Beginner, Fundamentals, PowerShell

    Master everyday file and directory tasks in PowerShell with a practical toolkit: navigate with Set-Location (cd/$pwd), explore with Get-ChildItem (filters, recursion, attributes), create with New-Item, and manage with Copy-Item, Move-Item, and Remove-Item. Learn safe patterns using Test-Path, -WhatIf, and Join-Path, plus real-world scripts for backups, temp cleanup, organizing files by extension, and detecting duplicates. The article also covers error handling and cross-platform path practices to keep automation reliable.

  • Rounding in PowerShell: Avoiding Pitfalls When Splitting Lists into Batches

    Jos Fissering

    11 August 2025
    Beginner, Intermediate, PowerShell, Quick Learnings

    When splitting a list of users into batches, rounding errors can lead to unexpected results. In this post, I explore common mistakes with [math]::Round(), explain rounding strategies, and show how methods like Ceiling() and Floor() can help you get accurate batch counts in PowerShell.

  • Mastering PowerShell’s Comparison Operators

    Casper Stekelenburg

    4 August 2025
    Beginner, Fundamentals, PowerShell

    PowerShell provides a rich set of comparison operators that are essential for decision-making in scripts. These operators allow you to compare values, filter data, and create conditional logic that makes your scripts more intelligent and responsive. In this guide, we’ll explore the most commonly used comparison operators and see them in action. What are Comparison […]

  • PowerShell Error Handling for Beginners: Try, Catch, and Finally

    Casper Stekelenburg

    14 July 2025
    Beginner, PowerShell

    Error handling is a crucial aspect of writing robust PowerShell scripts. When things go wrong—and they will—proper error handling helps your scripts gracefully manage problems, provide meaningful feedback, and continue operating when possible. In this guide, we’ll explore PowerShell’s error handling mechanisms and learn how to write more resilient scripts.

  • Running Legacy Scripts in a Modern Console

    Jos Fissering

    7 July 2025
    Beginner, Intermediate, PowerShell, Quick Learnings

    Unlock the full potential of PowerShell 7.x while still running those essential legacy scripts! Discover how to seamlessly execute PowerShell 5.1 modules like ‘VirtualMachineManager’ within your modern console. Follow our quick guide to bridge the gap between versions effortlessly.

  • Strict Mode in PowerShell

    Jos Fissering

    23 June 2025
    Beginner, Intermediate, PowerShell, Quick Learnings, Troubleshooting

    Strict mode is a concept found in various programming languages, designed to enforce stricter coding rules and catch common bugs early. While PowerShell doesn’t have a strict mode like JavaScript or TypeScript, it does offer a feature called Set-StrictMode that serves a similar purpose.

Previous Page
1 2 3 4 … 9
Next Page

Latest Posts

  • RSS Feed

  • Why Your Intune File Commits Fail in PowerShell 7.4+3 October 2025
  • Automating LEGO Instruction Downloads with PowerShell22 September 2025
  • PowerShell Tip: Testing Performance with Measure-Command15 September 2025
  • PowerShell Remoting: Managing Multiple Systems from One Console8 September 2025
  • PowerShell Pipelining: Combining Commands for Efficiency1 September 2025

Advanced Beginner Deep Dive Fundamentals Intermediate PowerShell Quick Learnings Troubleshooting


Archive

  • 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