-
Notifications
You must be signed in to change notification settings - Fork 101
Get D365DotNetMethod
Get a .NET method from the Dynamics 365 for Finance and Operations installation
Get-D365DotNetMethod [-Assembly] <String> [[-Name] <String>] [[-TypeName] <String>] [<CommonParameters>]
Get a .NET method from an assembly file (dll) from the package directory
Get-D365DotNetMethod -Assembly "C:\AOSService\PackagesLocalDirectory\ElectronicReporting\bin\Microsoft.Dynamics365.LocalizationFrameworkForAx.dll"
Will get all methods, across all classes, from the assembly file
Get-D365DotNetMethod -Assembly "C:\AOSService\PackagesLocalDirectory\ElectronicReporting\bin\Microsoft.Dynamics365.LocalizationFrameworkForAx.dll" -TypeName "ERTextFormatExcelFileComponent"
Will get all methods, from the "ERTextFormatExcelFileComponent" class, from the assembly file
Get-D365DotNetMethod -Assembly "C:\AOSService\PackagesLocalDirectory\ElectronicReporting\bin\Microsoft.Dynamics365.LocalizationFrameworkForAx.dll" -TypeName "ERTextFormatExcelFileComponent" -Name "*parm*"
Will get all methods that fits the search "parm", from the "ERTextFormatExcelFileComponent" class, from the assembly file
Get-D365DotNetClass -Name "ERTextFormatExcelFileComponent" -Assembly "*LocalizationFrameworkForAx.dll*" | Get-D365DotNetMethod
Will get all methods, from the "ERTextFormatExcelFileComponent" class, from any assembly file that fits the search "LocalizationFrameworkForAx.dll"
Name of the assembly file that you want to search for the .NET method
Provide the full path for the assembly file you want to work against
Type: String
Parameter Sets: (All)
Aliases: File
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the .NET method that you are looking for
Accepts wildcards for searching. E.g. -Name "parmERExcel"
Default value is "*" which will search for all methods
Type: String
Parameter Sets: (All)
Aliases: MethodName
Required: False
Position: 3
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Name of the .NET class that you want to work against
Accepts wildcards for searching. E.g. -Name "ERExcel*"
Default value is "*" which will work against all classes
Type: String
Parameter Sets: (All)
Aliases: ClassName
Required: False
Position: 4
Default value: *
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, Method, Methods, 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.
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services