Get D365DotNetClass - FH-Inway/d365fo.tools GitHub Wiki
Get a .NET class from the Dynamics 365 for Finance and Operations installation
Get-D365DotNetClass [[-Name] <String>] [[-Assembly] <String>] [[-PackageDirectory] <String>]
[<CommonParameters>]
Get a .NET class from an assembly file (dll) from the package directory
Get-D365DotNetClass -Name "ERText*"
Will search across all assembly files (.dll) that are located in the default package directory after any class that fits the search "ERText"
Get-D365DotNetClass -Name "ERText*" -Assembly "*LocalizationFrameworkForAx.dll*"
Will search across all assembly files (.dll) that are fits the search "LocalizationFrameworkForAx.dll", that are located in the default package directory, after any class that fits the search "ERText"
Get-D365DotNetClass -Name "ERText*" | Export-Csv -Path c:\temp\results.txt -Delimiter ";"
Will search across all assembly files (.dll) that are located in the default package directory after any class that fits the search "ERText"
The output is saved to a file to make it easier to search inside the result set
Name of the .NET class that you are looking for
Accepts wildcards for searching. E.g. -Name "ERExcel"
Default value is "*" which will search for all classes
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Name of the assembly file that you want to search for the .NET class
Accepts wildcards for searching. E.g. -Name "AXFramework*.dll"
Default value is "*.dll" which will search for assembly files
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *.dll
Accept pipeline input: False
Accept wildcard characters: False
Path to the directory containing the installed packages
Normally it is located under the AOSService directory in "PackagesLocalDirectory"
Default value is fetched from the current configuration on the machine
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: $Script:PackageDirectory
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: .Net, DotNet, Class, Development
Author: Mötz Jensen (@Splaxi)
The cmdlet supports piping and can be used in advanced scenarios. See more on github and the wiki pages.