I’m working on a project to hide all disabled users from GAL. How can I get this command to export to a CSV file? Any help is appreciated.<\/p>\n
Get-ADUser I’m working on a project to hide all disabled users from GAL. How can I get this command to export to a CSV file? Any help is appreciated.<\/p>\n Get-ADUser Welcome<\/p>\n If you post code, please use the ‘Insert Code’ button. Please and thank you!<\/p>\n-Filter {(enabled -eq \"false\") -and (msExchHideFromAddressLists -notlike \"*\")}<\/code>
\n-Properties enabled,msExchHideFromAddressLists<\/p>","upvoteCount":1,"answerCount":4,"datePublished":"2021-05-14T16:58:23.000Z","author":{"@type":"Person","name":"spiceuser-kr31x","url":"https://community.spiceworks.com/u/spiceuser-kr31x"},"suggestedAnswer":[{"@type":"Answer","text":"
-Filter {(enabled -eq \"false\") -and (msExchHideFromAddressLists -notlike \"*\")}<\/code>
\n-Properties enabled,msExchHideFromAddressLists<\/p>","upvoteCount":1,"datePublished":"2021-05-14T16:58:23.000Z","url":"https://community.spiceworks.com/t/export-to-csv/799941/1","author":{"@type":"Person","name":"spiceuser-kr31x","url":"https://community.spiceworks.com/u/spiceuser-kr31x"}},{"@type":"Answer","text":"