Identifying the master pages used by each device channel for each site in a SharePoint farm can be cumbersome. Using PowerShell, the administrators are able to quickly iterate through each site to accomplish this. In this recipe, we are going to use a PowerShell script (PS1) to output the device channels and master pages configured for each site in a site collection.
Follow these steps to list the device channel master page configurations for each site in a site collection with PowerShell:
Microsoft.SharePoint.Publishing.dllassemblies into the PowerShell session.