Try this one-liner if you need to print out all PDF documents you have stored in one folder:
Dir c:\myfolder\*.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }
Try this one-liner if you need to print out all PDF documents you have stored in one folder: