How do I properly set a docker cmd/entrypoint for a detached loop? (Windows Container)

I have a Dockerfile build I've been putting together to configure a SQL instance on a Windows Container, and want Docker's entrypoint to be the SQL Server Agent, so that it starts the SQL Agent service detached, runs while the SQL Agent runs, then exits when the service stops. Instinctively I did a CMD net start sqlserveragent but immediately realized that exits after the service is started, instead of when it ends.

Is the proper etiquette here to create a start script with a while($service.status -eq running){sleep 1}? Going off of Microsoft's dockerfile they use that style here, but what I'd really like here is some sort of net start sqlserveragent && tail -F sqllog kinda command that hooks into the process. Is that possible in this scenario?