How to Get IP Addresses of Computers In Active Directory DomainActive Directory Design - Domains per site or Organisational Units per siteactive directory or workgroup for production machinesDisplay rights to folders for a particular Active Directory Security GroupFind name of Active Directory domain controllerGet domain user's IP addresses out of Active DirectoryCan the existance of IIS be queried through Active Directory database?Error getting PAM / Linux integrated with Active DirectoryWhat do the “Read personal information” and “Write personal information” Active Directory permissions entail?Active Directory Root PermissionsActive Directory and usage of Sites

How could a possessed body begin to rot and decay while it is still alive?

Movie where a boy is transported into the future by an alien spaceship

Accidentally cashed a check twice

How certain is a caster of when their spell will end?

How were concentration and extermination camp guards recruited?

Past participle agreement with the subject in the case of pronominal verbs

Anatomically Correct Swarm of Rodents

How to split a string in two substrings of same length using bash?

What does left arrow <- mean outside a do block?

Side by side histograms

Secure offsite backup, even in the case of hacker root access

What happens to foam insulation board after you pour concrete slab?

Working in the USA for living expenses only; allowed on VWP?

California: "For quality assurance, this phone call is being recorded"

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

What is the right way to float a home lab?

What is the history of the check mark / tick mark?

Is it a problem that pull requests are approved without any comments

Pros and cons of writing a book review?

What flavor of zksnark in tezos

Do adult Russians normally hand-write Cyrillic as cursive or as block letters?

How to detach yourself from a character you're going to kill?

Who operates delivery flights for commercial airlines?

Is it legal in the UK for politicians to lie to the public for political gain?



How to Get IP Addresses of Computers In Active Directory Domain


Active Directory Design - Domains per site or Organisational Units per siteactive directory or workgroup for production machinesDisplay rights to folders for a particular Active Directory Security GroupFind name of Active Directory domain controllerGet domain user's IP addresses out of Active DirectoryCan the existance of IIS be queried through Active Directory database?Error getting PAM / Linux integrated with Active DirectoryWhat do the “Read personal information” and “Write personal information” Active Directory permissions entail?Active Directory Root PermissionsActive Directory and usage of Sites






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








4















I'm not even sure if this is the proper approach but I have a number of computers on our school network (domain) that I need to report the IP addresses for. All of these computers are contained in a single orgizational unit in the domain.



Is there a way to use Active Directory to get the IP addresses for each of the machines? I looked in the Attribute Editor in ADUC but didn't see this field. However, I did see the dNSHostName. Maybe there is a way to resolve that to an IP address in code somehow?



Is there a much easier way to accomplish something like this that i'm just missing?



Thanks,



  • Charlie









share|improve this question




























    4















    I'm not even sure if this is the proper approach but I have a number of computers on our school network (domain) that I need to report the IP addresses for. All of these computers are contained in a single orgizational unit in the domain.



    Is there a way to use Active Directory to get the IP addresses for each of the machines? I looked in the Attribute Editor in ADUC but didn't see this field. However, I did see the dNSHostName. Maybe there is a way to resolve that to an IP address in code somehow?



    Is there a much easier way to accomplish something like this that i'm just missing?



    Thanks,



    • Charlie









    share|improve this question
























      4












      4








      4


      1






      I'm not even sure if this is the proper approach but I have a number of computers on our school network (domain) that I need to report the IP addresses for. All of these computers are contained in a single orgizational unit in the domain.



      Is there a way to use Active Directory to get the IP addresses for each of the machines? I looked in the Attribute Editor in ADUC but didn't see this field. However, I did see the dNSHostName. Maybe there is a way to resolve that to an IP address in code somehow?



      Is there a much easier way to accomplish something like this that i'm just missing?



      Thanks,



      • Charlie









      share|improve this question














      I'm not even sure if this is the proper approach but I have a number of computers on our school network (domain) that I need to report the IP addresses for. All of these computers are contained in a single orgizational unit in the domain.



      Is there a way to use Active Directory to get the IP addresses for each of the machines? I looked in the Attribute Editor in ADUC but didn't see this field. However, I did see the dNSHostName. Maybe there is a way to resolve that to an IP address in code somehow?



      Is there a much easier way to accomplish something like this that i'm just missing?



      Thanks,



      • Charlie






      ip active-directory






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 8 '10 at 14:22









      NitaxNitax

      23113




      23113




















          4 Answers
          4






          active

          oldest

          votes


















          3














          The DNS Manager should have a list of computer names and what IP address they have been assigned.






          share|improve this answer























          • +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

            – Satanicpuppy
            Jul 8 '10 at 18:59


















          1














          Through ADUC, I'm not sure you can get an IP from a hostname. You could look in the DHCP snap-in (if that's whats handing out addresses), check the DNS manager on the server or use a tool like Angy IP Scanner






          share|improve this answer























          • AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

            – GMasucci
            Sep 6 '16 at 8:25


















          0














          To the best of my knowledge there is no way to achieve what you require through active directory. You may be able to look in your servers DNS to find both the IP's and Hostnames to export to a spreadsheet or other format.



          You could also use an IP scanner such as angryIP scanner.



          Hope this helps.






          share|improve this answer






























            0














            How to use PowerShell to Get the IP Address from the Computer object in AD.



            $ComputerName = "Computer01"

            (Get-ADComputer $ComputerName -Properties IPv4Address).IPv4Address





            share|improve this answer

























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "2"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f158566%2fhow-to-get-ip-addresses-of-computers-in-active-directory-domain%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              The DNS Manager should have a list of computer names and what IP address they have been assigned.






              share|improve this answer























              • +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

                – Satanicpuppy
                Jul 8 '10 at 18:59















              3














              The DNS Manager should have a list of computer names and what IP address they have been assigned.






              share|improve this answer























              • +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

                – Satanicpuppy
                Jul 8 '10 at 18:59













              3












              3








              3







              The DNS Manager should have a list of computer names and what IP address they have been assigned.






              share|improve this answer













              The DNS Manager should have a list of computer names and what IP address they have been assigned.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jul 8 '10 at 14:29









              ToraiTorai

              37415




              37415












              • +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

                – Satanicpuppy
                Jul 8 '10 at 18:59

















              • +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

                – Satanicpuppy
                Jul 8 '10 at 18:59
















              +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

              – Satanicpuppy
              Jul 8 '10 at 18:59





              +1: DNS is a better bet than DHCP for this kind of thing. AD maintains the DNS for various reasons, and the name in the AD will be the same as the computer names in the OU. Additionally, if you have more than one subnet, they'll still all be in 1 DNS group, rather than broken out by subnet.

              – Satanicpuppy
              Jul 8 '10 at 18:59













              1














              Through ADUC, I'm not sure you can get an IP from a hostname. You could look in the DHCP snap-in (if that's whats handing out addresses), check the DNS manager on the server or use a tool like Angy IP Scanner






              share|improve this answer























              • AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

                – GMasucci
                Sep 6 '16 at 8:25















              1














              Through ADUC, I'm not sure you can get an IP from a hostname. You could look in the DHCP snap-in (if that's whats handing out addresses), check the DNS manager on the server or use a tool like Angy IP Scanner






              share|improve this answer























              • AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

                – GMasucci
                Sep 6 '16 at 8:25













              1












              1








              1







              Through ADUC, I'm not sure you can get an IP from a hostname. You could look in the DHCP snap-in (if that's whats handing out addresses), check the DNS manager on the server or use a tool like Angy IP Scanner






              share|improve this answer













              Through ADUC, I'm not sure you can get an IP from a hostname. You could look in the DHCP snap-in (if that's whats handing out addresses), check the DNS manager on the server or use a tool like Angy IP Scanner







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jul 8 '10 at 15:07









              DanBigDanBig

              10.9k12352




              10.9k12352












              • AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

                – GMasucci
                Sep 6 '16 at 8:25

















              • AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

                – GMasucci
                Sep 6 '16 at 8:25
















              AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

              – GMasucci
              Sep 6 '16 at 8:25





              AngryIPScanner is a lovely little tool, have used it for years, though beware it shows as a false positive with some Anti-virus software

              – GMasucci
              Sep 6 '16 at 8:25











              0














              To the best of my knowledge there is no way to achieve what you require through active directory. You may be able to look in your servers DNS to find both the IP's and Hostnames to export to a spreadsheet or other format.



              You could also use an IP scanner such as angryIP scanner.



              Hope this helps.






              share|improve this answer



























                0














                To the best of my knowledge there is no way to achieve what you require through active directory. You may be able to look in your servers DNS to find both the IP's and Hostnames to export to a spreadsheet or other format.



                You could also use an IP scanner such as angryIP scanner.



                Hope this helps.






                share|improve this answer

























                  0












                  0








                  0







                  To the best of my knowledge there is no way to achieve what you require through active directory. You may be able to look in your servers DNS to find both the IP's and Hostnames to export to a spreadsheet or other format.



                  You could also use an IP scanner such as angryIP scanner.



                  Hope this helps.






                  share|improve this answer













                  To the best of my knowledge there is no way to achieve what you require through active directory. You may be able to look in your servers DNS to find both the IP's and Hostnames to export to a spreadsheet or other format.



                  You could also use an IP scanner such as angryIP scanner.



                  Hope this helps.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 8 '10 at 14:30









                  JamesKJamesK

                  1,5811019




                  1,5811019





















                      0














                      How to use PowerShell to Get the IP Address from the Computer object in AD.



                      $ComputerName = "Computer01"

                      (Get-ADComputer $ComputerName -Properties IPv4Address).IPv4Address





                      share|improve this answer





























                        0














                        How to use PowerShell to Get the IP Address from the Computer object in AD.



                        $ComputerName = "Computer01"

                        (Get-ADComputer $ComputerName -Properties IPv4Address).IPv4Address





                        share|improve this answer



























                          0












                          0








                          0







                          How to use PowerShell to Get the IP Address from the Computer object in AD.



                          $ComputerName = "Computer01"

                          (Get-ADComputer $ComputerName -Properties IPv4Address).IPv4Address





                          share|improve this answer















                          How to use PowerShell to Get the IP Address from the Computer object in AD.



                          $ComputerName = "Computer01"

                          (Get-ADComputer $ComputerName -Properties IPv4Address).IPv4Address






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited May 18 at 19:30









                          Jenny D

                          24.5k116296




                          24.5k116296










                          answered May 18 at 19:07









                          Michael J. ThomasMichael J. Thomas

                          1




                          1



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Server Fault!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f158566%2fhow-to-get-ip-addresses-of-computers-in-active-directory-domain%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                              What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                              Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos