February 1, 2018 at 10:52 am
Hi All..
I am looking to create a report that will list let’s say the next 10 available AD computer names in a specific OU
I have managed to query AD and list all the machines that are in a specific OU
Is there a function in SQL I can use to identify a sequence and generate the next computer numbers and display in a report.
Thanks in advance.
February 5, 2018 at 1:33 am
Are you talking about ROW_NUMBER()?
February 5, 2018 at 12:34 pm
James.Bowtell - Thursday, February 1, 2018 10:52 AMHi All..I am looking to create a report that will list let’s say the next 10 available AD computer names in a specific OUI have managed to query AD and list all the machines that are in a specific OU Is there a function in SQL I can use to identify a sequence and generate the next computer numbers and display in a report. Thanks in advance.
There is no built in function to recognize the naming pattern, convention that you use for in AD to name computers. You would need to write your own.
Sue
February 6, 2018 at 2:28 am
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply