3 lines
222 B
PowerShell
3 lines
222 B
PowerShell
$out = "C:\docker\music\all_log_dirs.txt"
|
|
Get-ChildItem "C:\inetpub\logs\LogFiles" | Select-Object Name, FullName | Out-File $out
|
|
Get-ChildItem "C:\inetpub\logs" -Recurse | Select-Object FullName | Out-File $out -Append |