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.
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.