This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Computer Name Generation

I am trying to generate a simple computer name policy. When i create a new computer object via AR, i want AR to generate PC-0001 and the next computer object PC-0002  and so on. I used the following policysamAccountName =  PC-{@counter(4)}cn = %<samAccountName>Every time i create a computer object,  the samaccountname and cn are pre populated with PC-0001, but when i click next, i get a corporate policy violation. This is the only policy i have in the OU.

Help Please
Parents
  • Sargay:

    Do you have an computer name generation example script? This one is for user logon name generation. We are trying to autopopulate the computer name field on PreCreate based on the next available sequence number.

    Ex – LLM-L000001. Next machine will be LLM-L000002

    Thanks

Reply
  • Sargay:

    Do you have an computer name generation example script? This one is for user logon name generation. We are trying to autopopulate the computer name field on PreCreate based on the next available sequence number.

    Ex – LLM-L000001. Next machine will be LLM-L000002

    Thanks

Children
No Data