Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Get-Content C:test.txt | ForEach-Object{(Get-ADComputer -Identity $_ -Properties description) | Select-Object name, description `
  2. | Export-Csv -Path 'C:test.csv' -NoTypeInformation -Force}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement