Export the report of agent versions to a CSV file

You can export a report of Centrify DirectControl Agent for Mac versions on AD-joined computers to a CSV file for easier manipulation by running the following:

Get-ADComputer -Filter * -Properties OperatingSystem,OperatingSystemServicePack | Select-Object Name,OperatingSystem,OperatingSystemServicePack | Export-CSV CDCVersion.csv -NoTypeInformation -Encoding UTF8

In this example, PowerShell exports the data shown in Show PowerShell output of agent versions for AD-joined computers to a CSV file named CDCVersion.csv in the current directory. You can then open that CSV file using a spreadsheet application such as Excel to more easily analyze the data.