0 votes

Good morning, I need to get the serial number of PC and update the description with the value result. I tried with %serialNumber% but the is empty. Can u help me? thanks, Simone

by (430 points)

1 Answer

0 votes
by (272k points)

Hello Simone,

The approach you are using is correct for a custom command, business rule or scheduled task configured for the Computer object type. However, as per our check, the serialNumber property is not populated in AD automatically. It can only be retrieved using a script. The following thread on Microsoft forums should be helpful: https://social.technet.microsoft.com/Forums/windows/en-US/0c473196-afd0-43ec-b812-db54d62c2b16/serial-number-attribute-of-computer-object?forum=winserverDS.

Related questions

0 votes
1 answer

Hello, i have a custom command which sets the oof-message for the selected user. in this custom command i have a parameter "param-vertretung" (ad-object picker). Now i want to ... and email of the stand-in in the oof-message. Can you help me with that? Thanks

asked Nov 13, 2020 by lohnag (160 points)
0 votes
1 answer

hello i'm new with Adaxes i'm try to creat schuadle task to import a spefice user list by thier username id after that just update City for them by bulk updating . kinly advise

asked Aug 29, 2023 by sudox (20 points)
0 votes
1 answer

I would like to create a task to get an address from proxyAddresses (Email Proxy Addresses) and add the number to a CustomAttribute field. The address would be DIR:xxxx ... digit number) and I would like to add the 4 digit number to adm-CustomAttributeText5.

asked May 6, 2016 by Kikaida (1.1k points)
0 votes
1 answer

When we create a shared mailbox, we create an associated mail-enabled security group. In the security group I want to populate the description field with the name of the shared mailbox ... How can I get just the "name" of the shared mailbox versus the full DN?

asked Feb 4, 2021 by atnorman (120 points)
0 votes
0 answers

Hi, I have a scheduled task in place that is disabling accounts based on certain criteria's. When the task hits an account that is supposed to be disabled it modifies the ... Account has been disabled on XY" What's in the attached screenshot didn't worked.

asked Mar 2, 2016 by ijacob (960 points)
3,346 questions
3,047 answers
7,782 comments
544,984 users