Using Curator to delete old log files

Is there a way to use Curator to delete old log files for both Elasticsearch and logstash after so many days that are not sent to logstash? Can Curator run a powershell script?

I use curator currently for deleting old data and if I could use it for deleting log files it would be great (logging purposes).

Curator only interfaces with Elasticsearch using API calls. It cannot delete anything on a filesystem.