|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
create AD-PC-Account with given GUID per script
Hello,
is there a way to create computer accounts with given GUID's (by the Hardware-Dealer) with a script? -- thx, Jens -- Preface
1: I have never done this 2: Given that you can do it with the GUI I think you could 3: I don't have time to test this This script would take a bet of mucking around to create. The attribute you are after is called netbootGUID. When you look at this in ADSIedit it looks different from what you type in when you use the GUI. For example if you type in: {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF} in the GUI in ADSIedit it looks like this Hex: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF So here is what you need to do: 1: Start with a script to create a computer account 2: Work out how two write and attribute with type octet string 3: Do some data manipulation do that you convert your manufacturer supplied GUIDs into a format that can be written. Its going to take some work, but it *should* be able to be done. If you aren't up to this, then maybe someone out there can pick up the challenge. Cheers, Jeremy. Show quote "Jens Klein" wrote: > Hello, > > is there a way to create computer accounts with given GUID's (by the > Hardware-Dealer) with a script? > > -- > > thx, > Jens > -- > > |
|||||||||||||||||||||||