It could be an entry in the registry's "Run" key: run-and-runonce-registry-keys
Or it could be a scheduled task that runs at startup or logon.
In any case, it's not a PowerShell problem. Ask for help using the Windows-10-General tag if you need more information.