Need to edge out the competition for your dream job? Train for certifications today.
Get-ADComputer -Filter * -Properties * | Export-csv C:\report.csv -nti
Open in new window
Get-ADComputer -Filter * -Properties * | Select Name,DNSHostName,IPv4Address | Export-csv C:\report.csv -nti
Get-ADComputer -ResultSize unrestricted -Filter * -Properties * |
export-csv -NoType C:\Temp\EE\ADComputer.Txt
If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.
Search-ADAccount -ComputersOnly -AccountInactive -TimeSpan 90
Thanks both - is there any specific attribute that would give clues as to whether a specific wokrstation is being used
If you dont add " -ResultSize unrestricted "
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.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.