PowerShell

PowerShell

Does Nesting Disappear with PowerShell's ConvertTo-Json? Observing Structure by Changing Depth

Isolating the phenomenon where nested structures change due to insufficient Depth in ConvertTo-Json through dummy data comparison and reloading.
PowerShell

Is the Difference Direction Reversed in PowerShell Compare-Object? Safely Distinguishing Additions, Deletions, and Matches

An explanation of Compare-Object arrows and match indicators, the differences when reversing arguments, and considerations for ledger duplicates, quantity changes, and blanks.
PowerShell

Comparing Before and After Lists Using PowerShell's Compare-Object: Understanding Arrow Meanings and Prevention of Oversight

About Compare-Object<=・=>Checking equality with a fictional terminal list. Explaining IncludeEqual, CaseSensitive, and pitfalls such as duplicates and missing inputs.
PowerShell

Handling keys with differing case sensitivity using PowerShell Sort-Object -Unique

Does PowerShell's Sort-Object -Unique treat P101 and p101 as the same? We compare the record count difference with -CaseSensitive using dummy data and explain how to verify before removing duplicates.
PowerShell

Detecting Delimiter Misidentification and Missing Columns with PowerShell ConvertFrom-Csv

Transform a semicolon-delimited CSV using ConvertFrom-Csv in PowerShell 7 and detect missing mandatory columns. Review considerations regarding delimiters, -Header, strings versus numbers, and character encodings using dummy data.
PowerShell

Standardizing Full-Width Alphanumeric Characters with PowerShell Unicode Normalization NFKC – A Non-Destructive Method for Source Data

Using .NET Normalize(FormKC) in PowerShell to unify full-width alphanumeric characters and half-width kana. Explains the differences from NFC and precautions regarding ID collisions.
PowerShell

Appending and Inspecting JSONL Logs Line by Line in PowerShell – How to Isolate Corrupted Lines

How to append JSON Lines (JSONL) without a UTF-8 BOM and validate them line by line in PowerShell 7. Using dummy events and invalid lines, we explain expected results, character encoding, and error handling precautions.
PowerShell

Organizing official information and specifications of the GitHub async merge API

This article is a technical explanation and implementation example generated using AI. The code and procedures presented...
PowerShell

How I Built a Windows Security Monitor That Records Intruders Automatically Which You Can Review Using PowerShell

This article is a technical explanation and implementation example created using AI. The code and procedures presented a...
PowerShell

Analyzing GitHub Copilot Weekly Releases – September 21 Based on Official Information

This article is a technical explanation and implementation example generated using AI. The presented code and procedures...