PowerPoint to PDF Batch Converter Using with PowerShell in Seconds [No Additional Software Required]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this video is a part of a three-part series on the power of partial scripting in the first part we look how we can convert PowerPoint files into PDF with a single click these PowerPoint files does not need to be in a single folder it can also be in subfolders and this script can convert them into PDF with a single click in the second part of this series we'll see how we can convert Word documents into PDF again these files can be in recursive folders and it will still work and finally in the third part of this video series we'll see how we can organize literally thousands of photos or files into neatly structured years and month folder format again we'll be using partial for this so if you are looking at one of the videos and if if you would like to look at the other please check out on the playlist and if you haven't subscribed to my Channel please consider subscribing alright let's get started hello everyone in this video we'll learn how we can convert multiple PowerPoint files into PDF with a single click these PowerPoint presentation files does not have to be in a single folder this script will also work for recursive folders means there's a main folder and there's subfolders and if you have PowerPoint files in them it should also convert them into PDF so here is a quick example let's say you have a a folder and then inside that there are multiple folders uh for me I have a class folder a design folder YouTube folder and then there's even a subfolder and each one has one or two PowerPoint files now some of them are with PP TX for extension and some are older PPT format and so this script should be able to convert all of that into PDF simultaneously and so let me just quickly share the folder so here is that folder structure that I just showed and then inside that I have all these PowerPoint files okay so we are going to convert them into PDF and we don't need a specific uh an additional software to download all we are going to use is use Powershell script now if you have never used Powershell before on your computer if you try to run about a script it may give you a error message something like this basically it will say that you won't be able to run a script because it's disabled on the on your system and so if you do see this error you need to make sure that you set the execution policy to remote sign and the way in which you do is is simply go to open power cell so go to start menu and then just type our shell and then make sure that you run it as an administrator it should give you an option on the right hand side and so you do need admin rice to enable this policy you don't need admin rights to run the script it's just to enable that and so I already have set this enable but if you haven't you just basically type set execution and it's auto complete completed using tab and so you can see and then I said remote signed and it's asking you whether I want to change it or not I'll just say yes even though I have already done that all right so now I have enabled partial script execution on my computer all right so once you do that then all you have to do is just the download partial script from my GitHub page so I'm going to paste the link in my description of this video and also on the screen and so you can simply just copy this partial script from my GitHub page and so once you download that it will look something like this and so here it is my partial script it is with PS1 extension so let me open that in just a notepad right and so here is uh the script it is fairly simple and straightforward and basically it's going to just need one thing and that is the main folder so right here is an example of how to run this and so we are going to run this script and see how it works all right now here line number about right in the middle I am I'm setting it to find both dot PPT and pptx files and so you should be able to get both of them in your uh from your folder right so this is the script that we are going to run and we the way in which you run it is you just type this and then you pass a path to it with this flag path to PPT files okay so it's pretty simple we will just see how we can do that so uh now I I'll open my Powershell again so just go to start menu and type Powershell you don't need to run it as administrator uh and so I'm going to oops uh go to this folder right and then just you can see this entire structure and then here is my PowerPoint partial script in fact by the way this is a pretty cool trick you can type 3 hyphen f and if you press enter then it shows you nice preview and so you can see all about PowerPoint files and so on right so let me clear this and I'm going to run a script and so in order to run a partial script you need to just type dot slash and then name of the script now you don't need to write the entire name you can just start with it and press tab and it should be able to auto complete it for you all right so this is the script we are going to run we also would like to pass a path and so hyphen PPT p uh it was path actually and again if you press Tab Key all you have to do is just type a part of the flag so all I did is just hyphen hack and then press Tab and it is smart enough to know that this is the this is what you want to or this is the flag that you want to pass and so it will auto complete it for you and then you just have to specify the full path of your folder okay so so I'm going to type you can simply copy and paste also uh the reason why I'm putting it into parenthesis is because there is a space if there is no space you don't need to specify this into not parenthesis sorry double quote right and so here is the full path and so now I'm going to open one of the folders so that we can see while it is running so once I press enter here it will actually go through the script it'll find all the PowerPoint files and then it will actually export or convert that into PDF now you do need a PowerPoint install on your computer and it will also open the PowerPoint files and it will close automatically so it'll open and close and you will see it's a little bit of flash right in front of you you will see that as we run this but again you don't need to do anything it'll just convert all your PowerPoint files into PDF so let's see if it works I'm going to press enter and so you can see that it starts to open these file and then it will convert them into PDF now I have a pretty big if I have a bigger bigger file it may take just a fraction of second but it's better than just doing everything manually in one's uh you know one by one and so as you can see it's opening and closing these files and then it is also converting and now it is done and so I'm going to use that tree command again just to see whether it is able to convert all of those so 3 slash F and so you can see right here that we had a PowerPoint files and now we have PDFs so it it maintained the file name and then add a DOT PDF extension but you can see that there is a corresponding PDF file for each of these and so let's go ahead and open one of these so here is a PowerPoint sorry PDF converted files and if I open that you can see that it has the entire PDF in this uh converted right let's look at another one maybe we'll go to YouTube there was one file here so I'm going to open this and it should have the PowerPoint right so this is another video so I just uh it's in my channel so so with pop with this partial script you can convert all your PowerPoint files into PDF into multiple folders uh and it's pretty easy and simple to use and so I hope you like this video if you did please click on the like button and as I said this is a part of uh four or five videos on Powershell so make sure that you check out the playlist and watch other videos as well and if you like the content of this Channel please consider subscribing subscribing to my channel alright thank you very much bye
Info
Channel: Chris Amit
Views: 1,531
Rating: undefined out of 5
Keywords: ppt to pdf, pptx to pdf, ppt to pdf converter for pc, convert powerpoint presentations into pdf in batch, convert pptx to pdf, convert ppt to pdf, recursively convert powerpoint files into pdf with powershell script, powershell magic, powershell script to convert ppt to pdf, change pptx to pdf
Id: tAz2CDkTY2U
Channel Id: undefined
Length: 9min 33sec (573 seconds)
Published: Mon Mar 13 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.