Hey, I actually found a guide that goes over that.
https://eng.ms/docs/products/geneva/getting_started/environments/windowsiaasbaremetal
Under this section
Finally, Invoke the Agent
Everytime your machine or VM restarts, you need to run one of these two commands to restart your data collection agent.