Hi, @Bonus12
Thank you for posting in Microsoft Q&A forum.
As far as I know, it can not be configured via task sequence or powershell now.
We can set it via UI or API:
https://learn.microsoft.com/en-us/mem/configmgr/develop/adminservice/custom-properties#set-properties-via-api
If the answer is the right solution, 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.