Need Help with Package as Service

No, I never figured out how to make it work with Powershell Pro Tools. But I have a feeling it’s because of the While Loop, the OnStart never completes.

I ended up having to use another developer’s Module to accomplish this task. Would still love to have it work with Powershell Pro Tools though.