Solved

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

Posted on 2014-02-01
3
1,131 Views
Last Modified: 2014-02-03
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
Comment
Question by:h2zero
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
pcmghouse earned 250 total points
Comment Utility
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
 
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 250 total points
Comment Utility
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
 
LVL 4

Expert Comment

by:pcmghouse
Comment Utility
were you able to test the commnad(s)
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now