![powershell](https://habrastorage.org/r/w120/webt/5a/96/3d/5a963d560deeb981146061.png)
PowerShell
3
Вклад в тег
Get-ChildItem c:\inetpub\logs\LogFiles\ -Recurse -Filter *.log | Where-Object {$_.LastWriteTime -lt [datetime]::Today.AddMonths(-1)} | Remove-Item
Get-ChildItem *.csv | ForEach-Object { (Get-Content -Path $_.FullName) -replace ',', ';' | Set-Content -Path $_.FullName }