My scenario is as follows.
- I am uploading my dll through web UI.
- I am hosting a PowerShell runspace in an ASP.NET application.
- I The DLL contains the PSCmdlet and would like to make use of it.
- The PSCmdlet only needs to be accessible within the hosted runspace and does not need to be used in any external scenario.
- The application does not have access to the windows registry as it runs with limited privileges, so I cannot install the PsSnapin.
Is it possible for me to use the commandlet without going through the installation process?