If you need a csv or text file containing the list of name, IP address, SID or any other information of all the machines of specific Machine Catalog or Delivery Group then you can follow the commands given.
Instructions
Run the following commands in Windows PowerShell on any of the Controller in admin mode:
asnp citrix*Get-BrokerDesktop -Filter {CatalogName -eq '
Machine Catalog Name'} | Select-Object -Property MachineName | Export-csv
c:\MachineName.csv 
Once done successfully, you will see the csv file at your desired location

The csv file will be containing the list of machines in the specified Machine Catalog.
For Delivery Group based filtering please use :
Get-BrokerDesktop -Filter {
DesktopGroupName -eq 'Delivery Group
Name'} | Select-Object -Property MachineName | Export-csv
c:\MachineName.csv You can select multiple object(separated by comma) to be listed in the same file e.g.
Get-BrokerDesktop -Filter {DesktopGroupName -eq 'Delivery Group Name'} | Select-Object -Property
MachineName, LastConnectionTime, OSType, RegistrationState, SID | Export-csv c:\MachineName.csv
NOTE: When retrieving a property that returns multiple answer, like AssociatedUserNames for server VDAs with multiple sessions, Export-csv will return it incorrectly
Use the following command instead:
Get-BrokerDesktop -Filter {DesktopGroupName -eq 'Delivery Group Name'} | Select-Object -Property AssociatedUserNames >> c:\AssociatedUsers.csv