### Prerequisites - [x] Write a descriptive title. - [x] Make sure you are able to repro it on the latest version - [x] Search the existing issues. ### Summary The PowerShell adapters should inspect class-based resources AST for a static `Export()` method and set the capability automatically. ### Steps to reproduce * Create a class-based resource with `Export()` method. * Run `dsc resource list --adapter Microsoft.Dsc/PowerShell` ### Expected behavior ```console Export cap is listed ``` ### Actual behavior ```console Export cap is NOT listed ``` ### Error details ```console ``` ### Environment data ```PowerShell 7.6-preview6 ``` ### Version 3.1-preview6 ### Visuals _No response_