@Jimmy Teffo, Thanks for posting in Q&A.
From your description, I know you want to Fix unquoted service path for Windows services via Intune or PS remediation script.
Based on my research, I found that there is a blog showing how to create a Proactive Remediation in Intune for it. Here is the link:
Note: Non-Microsoft link, just for the reference.
Also, there are other methods that you can refer to fix the issue.
https://rakhesh.com/powershell/windows-services-fix-unquoted-path-vulnerabilities-using-powershell/
http://www.ryanandjeffshow.com/blog/2013/04/11/powershell-fixing-unquoted-service-paths-complete/
Note: Non-Microsoft link, just for the reference.
Hope it will give you some ideas.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.