Hi @Guilherme Brilhante Guimarães
You could look into deploying PowerShell scripts through Intune. You would need to set up Intune, enroll your devices and then you can deploy scripts to devices connected to your Azure tenant.
Deployment guide: Setup or move to Microsoft Intune
https://learn.microsoft.com/en-us/mem/intune/fundamentals/deployment-guide-intune-setup
Enroll devices in Microsoft Intune
https://learn.microsoft.com/en-us/mem/intune/enrollment/
Use PowerShell scripts on Windows 10/11 devices in Intune
https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension
------------------------------
If this is helpful please accept answer.