Don't have Telegram yet? Try it now!
https://blog.it-kb.ru/2015/01/22/determine-inetpub-logfiles-folder-size-on-remote-computers-and-delete-old-iis-log-files-with-powershell/
PowerShell - Настраиваем очистку логов IIS