Get-ChildItem c:\inetpub\logs\LogFiles\ -Recurse -Filter *.log | Where-Object {$_.LastWriteTime -lt [datetime]::Today.AddMonths(-1)} | Remove-Item
(Get-Date).AddDays(-1)
Get-ChildItem *.csv | ForEach-Object { (Get-Content -Path $_.FullName) -replace ',', ';' | Set-Content -Path $_.FullName }