Refactor the existing code to create a web-control to encapsulate the bulk of the user interface. This would allow the control to be hosted by DotNetNuke as well as other web sites.
Posh4DNN uses a simple Runspace to execute commands. This results in errors if the user attempts to use any cmdlets that output to the host.