Is it possible to remove the header information from the output. I have tried a
few things like -hidetablerheaders and -expandproperty.
Here is the code:
get-aduser -filter * -properties name, telephoneNumber, department, extensionAttribute1 | where-object { $_.extensionAttribute1 -eq "1" } | Select-Object samAccountName, givenname, surname, telephoneNumber, department | Export-Csv feed.csv -NoTypeInformation -Encoding ASCII
Any help would be appreciated
Here is the code:
get-aduser -filter * -properties name, telephoneNumber, department, extensionAttribute1 | where-object { $_.extensionAttribute1 -eq "1" } | Select-Object samAccountName, givenname, surname, telephoneNumber, department | Export-Csv feed.csv -NoTypeInformation -Encoding ASCII
Any help would be appreciated
http://techwithmike.com