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 (289k 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

Hi, I have a lot of custom PowerShell scripts running and I am wondering, if its possible somehow to get the name of the PS Script the line of the execution of a code ... occurs and send directly the action, maybe path in Adaxes and line number of the script.

asked Oct 7 by wintec01 (1.5k points)
0 votes
1 answer

Hi, would it be possible to script a workstation in AD and also directly from our local SCCM environment ?

asked Oct 28 by ddesmedt (40 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)
3,545 questions
3,236 answers
8,229 comments
547,809 users