Compare cert salaries and plan your next career move
Slowhand wrote: » I tried the same thing, and I'm not getting an error or the "expected input" prompt. It runs and exports to a csv just fine. I'm assuming that you're running this on Windows Server 2003 since you posted it in the MCSA/MCSE 2003 section of the forum, but what version of PowerShell are you running?
get-adgroupmember -identity"group1" | select name | Export-csv -path C:\output\group.csv -notypeinformation
get-adgroupmember -identity "group1" | select name | Export-csv -path C:\output\group.csv -notypeinformation
Slowhand wrote: » I was kind of thinking that your issue might've been with the version. Export-CSV was a bit wonky in 2.0. Also, if you didn't have the C:\Output folder already created, that would've given you an error, but it shouldn't have sat there waiting for you to put further input.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.