Get-ChildItem C:\ | Select-Object -Last 3

1 answer

This PowerShell command retrieves the last 3 items in the C:\ directory and displays them.