PowerShell

PowerShell

Inspecting JSON Values and Types in PowerShell: Observing Settings with ConvertFrom-Json

Convert dummy JSON into a PowerShell object and observe not only the values, but also the differences in types.
PowerShell

Reading the Windows Time Zone with PowerShell and Cross-Checking via GUI

Read the current time zone using Get-TimeZone and safely verify the same value in the Windows settings screen.
PowerShell

PowerShell + WPF + FileSystemWatcher — Observing file change events on the UI

A minimal trial to capture dummy folder change events with FileSystemWatcher and safely pass them to a WPF window.
PowerShell

Calling GetLastInputInfo from PowerShell: Monitoring Idle Time from the Last Windows Input

P/Invoke Win32 GetLastInputInfo from PowerShell to monitor the elapsed seconds since the last user input.
PowerShell

Organizing the Addition Specifications of the profileUrl Attribute in SCIM User Responses Based on Official Information

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

How to Safely Interpret Added VS Code Agents in Copilot Usage Metrics

This article is a technical explanation and implementation example created using AI. Although the code and procedures pr...
PowerShell

Reading PATH Process, User, and Machine Differences in PowerShell: Troubleshooting Before GUI Changes

Compare the three scopes of Process, User, and Machine without modifying the PATH to troubleshoot why a command cannot be found.
PowerShell

Detecting Clipboard Changes in PowerShell Without Reading the Body: Win32 Sequence Number

Call GetClipboardSequenceNumber from PowerShell to monitor clipboard changes without storing the actual content.
PowerShell

Calling Win32 GetSystemPowerStatus from PowerShell: Directly observing power status

P/Invoke the Win32 API from PowerShell to observe AC power and battery status in read-only mode.
PowerShell

Inspecting Configuration JSON Before Changes with PowerShell Test-Json

Inspect JSON configurations in a read-only manner using Test-Json, observing syntax and differences in types and schemas.