Multiple ways to do it. Powershell3.0 and Rest API is the easiest one I think. The following is the sample code.
====
#Credentials of WFA. Modify as per your setup
$user = "admin"
$pass = "admin"
#Address: Modify as per your settings.
$add = "http://1.2.3.4/rest/workflows"
$secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential ($user, $secpasswd)
$wf=Invoke-RestMethod -Uri $add -Method Get -Credential $creds -ContentType "application/xml" -Headers @{"Authorization"="Basic YWRtaW46YWRtaW4="}
$workflow = $wf.collection.workflow
foreach ( $wfk in $workflow ) {
$wfk.name
$wfk.description
}
=====
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.