![]() $scanlogname = Join-Path -Path $scanlogdir -ChildPath "$($MyInvocation.M圜ommand.Name)-$(Get-Date -Format 'MM-dd-yyyy'). Once you open our free tool page in your mobile browser, all you have to do is upload your PDF into the grey rectangle area, and download the converted JPG file once the conversion is done. Get-ChildItem "$scanbdir\*.jpg" | Where LastWriteTime -LT (Get-Date).AddDays(-15) | Remove-Item -Confirm:$false The quickest way to convert a PDF to JPG on any mobile device (Android, iOS, etc.) is to use our free online PDF to JPG converter above. # Cleanup old pdf files - Change AddDays value as required $printername= "Nitro PDF Creator (Pro 9)" $scanlogdir="C:\IT Tools\Print to PDF Powershell\Logs" $scandir="C:\IT Tools\Print to PDF Powershell\Test-JPG" Fixing one error leads to a different error, so may need someone to point out the newb errors I've made. The script I've created so far looks like this, but throws syntax errors whenever I run it. We support a lot of different file formats like PDF, DOCX, PPTX, XLSX and many more. I'm trying to create a script which automatically searches a directory for JPG's, and then sends it to a PDF Printer for conversion which then saves it to another directory. This online document converter allows you to convert your files from HTML to PDF in high quality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |