Share via

MECM Device Custom Properties

Bonus12 1,126 Reputation points
2022-07-26T19:07:03.157+00:00

Hi,

I'm using MECM 2107 and I like the device custom properties option so now I can set custom properties for computers and query them.

How to automate this process via Task Sequence? can it be done via PowerShell?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft Security | Intune | Configuration Manager | Deployment
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments

Answer accepted by question author

AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
2022-07-27T03:10:11.807+00:00

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.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jason Sandys 31,421 Reputation points Microsoft Employee Moderator
    2022-07-27T15:12:12.537+00:00

    What's the use case for doing this during a TS?

    If the data you are attempting to add to the DB is for a device and is directly from that device, then you should use a hardware inventory extension and not a custom device property. Device properties are for adding information about devices from some other external source and not the device itself; e.g., your help desk/ticketing software, your HR software, or your hardware inventory system.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.