Можно - через ФБ "Скрипт C#"
Пример
http://blog.insat.ru/2015/10/Script-Gen-Archive.html