Hi bragac2,
Welcome to the MSDN forum.
>>I am implementing a custom PowerShell Host using PSHost and PSHostRawUserInterface.
Could you please share more detail information about your application? Like the project type or others, it will help us to analysis your issue, thank you for your cooperation.
Best regards,
Sara
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.