- Published: 2026.12.01
- Updated: 2026.12.01
- Windows
List empty child folders with PowerShell. Check hidden entries and literal folder names while leaving the directory contents untouched.
- Published: 2026.11.30
- Updated: 2026.11.30
- Windows
Use Group-Object and Measure-Object to count files by extension and find which file types use the most space in a folder.
- Published: 2026.11.29
- Updated: 2026.11.29
- Windows
Export matching lines from multiple logs to a CSV with PowerShell. Keep the file path, line number, and original text, then check the saved rows.
- Published: 2026.11.24
- Updated: 2026.11.24
- Windows
Display log lines before and after a match, keep the original line number, and retrieve context text from MatchInfo objects.
- Published: 2026.11.23
- Updated: 2026.11.23
- Windows
Read the end of a UTF-8 log, follow appended lines, start without old content, and stop watching with Ctrl+C.
- Published: 2026.11.22
- Updated: 2026.11.22
- Windows
Sort files by LastWriteTime, select the newest match, include subfolders, and choose a secondary order when timestamps are equal.
- Published: 2026.11.20
- Updated: 2026.11.20
- Windows
Count matching log files and add their sizes with Get-ChildItem and Measure-Object. Include subfolders or hidden files, and distinguish an empty match from a failed scan.
- Published: 2026.11.19
- Updated: 2026.11.19
- Windows
Use Get-Item to read a file's size in bytes and LastWriteTime. Handle bracketed filenames, format timestamps, and distinguish missing files from empty files.
- Published: 2026.11.18
- Updated: 2026.11.18
- Windows
Use Resolve-Path to inspect existing file paths, expand wildcard matches, and return relative paths. Learn when LiteralPath helps and how missing paths differ.
- Published: 2026.11.15
- Updated: 2026.11.15
- Windows
Identify aliases, functions, and executable paths with Get-Command. Compare hidden commands before changing PATH in Windows PowerShell 5.1 or PowerShell 7.