← Learn
Safe
Get-ChildItem -Path C:\Users -Recurse -Filter *.log

windows · powershell · Advanced

Recursively searches user directories for log files and lists them. Recurse sounds severe but only widens a read; nothing is opened, copied off the machine, or deleted.

Think you can spot these under time pressure?

Start Training

More Windows