I found this: https://github.com/lithnet/resourcemanagement-powershell
I think you might also be able to use this: https://docs.lithnet.io/mim-sync-service/
I don't know how the two module differ from each other, but the second on does have a disclaimer you have to read before you can access the module.
I don't have use, or have access to, MIM (or FIM), so take my suggestion as only a suggestion!