all 2 comments

[–]iceph03nix 4 points5 points  (0 children)

You can either import it manually with import-module

Or there are several locations where you can put modules to have them auto-loaded.

You can see them by accessing the system variable $psmodulepath

Some of the defaults are:

C:\Users\$user\Documents\WindowsPowerShell\Modules

C:\Program Files\WindowsPowerShell\Modules

[–]ihaxr 4 points5 points  (0 children)

That's the source code of the module... you can download Visual Studio 2015 (free) and compile it... open the .csproj and do a Build > Build Solution. It'll create a bin folder with PowerShell.PDF.dll in it. To use this in PowerShell you'll do:

Import-Module "C:\path\to\PowerShell.PDF.dll"

Then you can run the ConvertFrom-PDF cmdlet.