Get all SharePoint Online workflows by using PowerShell CSOM. Helpfull for workflow migrations to Flow or to just list all workflows
Blog
WorkflowGet SharePoint on-premises workflow ‘last modified by’ using PowerShell
Script to prevent issues when planning to delete SharePoint on-premises administrator accounts who may be the author of published workflows.