![]()
In this tutorial, we will learn about how we can get workflow inventory from the SharePoint Online tenant using PowerShell CSOM and PnP PowerShell. This script will scan through all the sites in a tenant and export all workflows associated with the lists into a CSV file, which will give a consolidated workflow report from

![Detailed Overview of Hub Site in SharePoint Online 4 [Verified] Office 365: Retrieve hub sites and associated sites using PnP Powershell](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2019/12/Verified-Office-365-Retrieve-hub-sites-and-associated-sites-using-PnP-Powershell.jpg?fit=961%2C551&ssl=1)