Skip to content

Instantly share code, notes, and snippets.


Eric Armijo YoViajo

View GitHub Profile
mp4096 / ppt2pdf.ps1
Created April 28, 2016 10:56
Batch convert PowerPoint files to PDF
View ppt2pdf.ps1
# Batch convert all .ppt/.pptx files encountered in folder and all its subfolders
# The produced PDF files are stored in the invocation folder
# Adapted from
# Thanks to MFT, takabanana, ComFreek
# If PowerShell exits with an error, check if unsigned scripts are allowed in your system.
# You can allow them by calling PowerShell as an Administrator and typing
# ```
# Set-ExecutionPolicy Unrestricted