Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get-Content C:test.txt | ForEach-Object{(Get-ADComputer -Identity $_ -Properties description) | Select-Object name, description `
- | Export-Csv -Path 'C:test.csv' -NoTypeInformation -Force}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement