Below is the script to export Call-queue configuration to a .csv file.
Get-CsCallqueue -first 100 | select-object Name,Identity,ApplicationInstances,RoutingMethod,DistributionLists,Agents,AgentsInSyncWithDistributionLists,AllowOptOut,AgentsCapped,AgentAlertTime,OverflowThreshold,OverflowAction,@{Label="OverflowactionTarget";Expression={($.OverflowactionTarget.Id)}}, @{Label="TimeoutActionTarget";Expression={($.TimeoutActionTarget.Id)}},OverflowSharedVoicemailTextToSpeechPrompt,OverflowSharedVoicemailAudioFilePrompt,EnableOverflowSharedVoicemailTranscription,TimeoutThreshold,TimeoutAction,TimeoutSharedVoicemailTextToSpeechPrompt,TimeoutSharedVoicemailAudioFilePrompt,EnableTimeoutSharedVoicemailTranscription,WelcomeMusicFileName,UseDefaultMusicOnHold,MusicOnHoldFileName |export-csv -notypeinformation -append "C:\temp\cqdata.csv"