Jump to content

Check for PC's added to AD Remotely


terazen
 Share

Recommended Posts

Hi,

Our regular computers are named computername.domain.com and our AD computers are on computername.ds.domain.com. If I wrote a script to just do name lookups on computer names to ds.domain.com would that be an accurate list of which computers have been added to AD? My thought was that if the name lookup fails it isn't on AD yet. I'm not sure if it's possible for a pc to register in AD DNS without being added so I'm unsure if this is a good test.

Some computers have been added without updating our database so I'm trying to get everything up to date the quickest way possible to figure out which ones still need to be done. Will this work or is there a better way?

Thanks for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy