Stephanevg / PSHTML

Cross platform Powershell module to generate HTML markup language
https://pshtml.readthedocs.io/en/latest/
Other
165 stars 43 forks source link

Out-PSHTMLDocument does not work with path .\ in Module Context #277

Open bateskevin opened 4 years ago

bateskevin commented 4 years ago

Out-PSHTMLDocument does not work with path .\ in Module Context

If I use out-pshtmldocument in a consolesession context I can add a path parameter like the following ".\index.html". This works. The file gets written and I can use "-Show" in order for PSHTML to open the document for me.

If I have that path parameter in a module context it throws an error that it could not find the path.