PowerShell

PowerShell

Verifying if Two Files Are Truly Identical: Using SHA-256 in PowerShell

Compare the SHA-256 hashes of two files using Get-FileHash in PowerShell, and safely observe the differences compared to file size checks and the drastic changes in the digest when a single character is modified.
PowerShell

What is the Difference Between Win32, COM, and WinRT? Organizing the Three Windows API Worlds from PowerShell

We compare the entry points from PowerShell to Win32, COM, and WinRT, and organize how to distinguish them regarding naming, types, lifetime, and business automation usage.
PowerShell

[Advanced Tech TRY] Consolidating Duplicate FileSystemWatcher Events: Visualizing Debounce

Observe duplicate FileSystemWatcher events and design separate handling for debouncing, file readiness checks, idempotency, and missed events.
PowerShell

Advanced Technology TRY: Calling Excel COM from PowerShell – Investigating the True Nature of Excel.Application

Call Excel COM Automation from PowerShell with a minimal smoke test, connecting ProgID, the Object Model, and cleanup to practical use.
PowerShell

Consolidating Only Photos and Videos from Google Takeout: Automatically Sorting Them into an Out Folder with PowerShell

Consolidate only images and videos into an Out folder from Google Takeout ZIP files and extracted folders. Tested on real data consisting of 2,749 items totaling 15.81 GB, this beginner-friendly guide explains a PowerShell mechanism that tracks progress, remaining item counts, and time remaining.
PowerShell

Why Does the Windows Screen Freeze? — Peeking into the Win32 Message Loop from PowerShell

Observe Click events using a minimal PowerShell + WinForms GUI, and experience firsthand why the Win32 message loop and UI thread freeze.
PowerShell

How Many Threads Are in a Process? — Observing Reality with PowerShell

Read the current PowerShell process and observe how multiple threads exist within a single PID.
PowerShell

Base64 Is Not Encryption: Visually Confirming Reversibility with PowerShell

Encode and decode Base64 in PowerShell to visually understand the difference between encoding and encryption.
PowerShell

Observing Win32 Window Handles with PowerShell

Read MainWindowHandle of a GUI process from PowerShell and observe the Win32 HWND.
PowerShell

Inspecting PowerShell for Dangerous Paths and Oversized Extractions Before Expanding ZIP Files

Before expanding a ZIP file, use PowerShell to inspect paths that extend outside the destination directory, total size, file count, and unexpected extensions.