Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1501
  • Last Modified:

PowerShell script to obtain all the properties of computer objects in AD

Please let me know if there is a PowerShell script to obtain all the properties of computer objects in AD. Exchange 2010
Thank you
0
h2zero
Asked:
h2zero
  • 2
2 Solutions
 
pcmghouseCommented:
Run these command in Windows Powershell.
If you are going to process these computers for some purpose then you will need a script.

import-module activedirectory
Get-ADComputer -Filter * -Properties *|fl|out-file c:\temp\comp_properties.txt
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
You can also use ADObject to get the same results...

import-module activedirectory
Get-ADObject -filter 'objectclass -eq "computer" -properties * | select | fl | out-file c:\computers.txt

Open in new window


Will.
0
 
pcmghouseCommented:
were you able to test the commnad(s)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now