Take a look at the following two examples. Both commands gets a list of log files, selects a subset of each file properties and logs them to a file. Get-ChildItem -Filter *.log -Recurse | ForEach-Object { $_ | Select-Object Name,Length,FullName
...
המשך לקרוא>