> Get-ADComputer -SearchBase “OU=OU1,OU=OU2,OU=OU3,DC=domain,DC=com” -Filter * -Prop
erties * | Select -Property Name,Enabled,LastLogonDate | Export-CSV “C:\temp\AllComputers.csv” -NoTypeInformation -Encoding UTF8
> Get-ADComputer -SearchBase “OU=OU1,OU=OU2,OU=OU3,DC=domain,DC=com” -Filter * -Prop
erties * | Select -Property Name,Enabled,LastLogonDate | Export-CSV “C:\temp\AllComputers.csv” -NoTypeInformation -Encoding UTF8