Get D365Model - FH-Inway/d365fo.tools GitHub Wiki
Get available model from Dynamics 365 Finance & Operations environment
Get-D365Model [[-Name] <String>] [[-Module] <String>] [-CustomizableOnly] [-ExcludeMicrosoftModels]
[-ExcludeBinaryModels] [[-BinDir] <String>] [[-PackageDirectory] <String>] [<CommonParameters>]
Get available model from the machine running the AOS service for Dynamics 365 Finance & Operations
Get-D365Model
Shows the entire list of installed models located in the default location on the machine.
A result set example:
ModelName Module IsBinary Customization Id Publisher
AccountsPayableMobile AccountsPayableMobile False DoNotAllow 895571380 Microsoft Corporation ApplicationCommon ApplicationCommon False DoNotAllow 8956718 Microsoft ApplicationFoundation ApplicationFoundation False Allow 450 Microsoft Corporation IsvFoundation IsvFoundation True Allow 895972027 Isv Corp IsvLicense IsvLicense True DoNotAllow 895972028 Isv Corp
Get-D365Model -CustomizableOnly
Shows only the models that are marked as customizable. Will only include models that is Customization = "Allow".
A result set example:
ModelName Module IsBinary Customization Id Publisher
ApplicationFoundation ApplicationFoundation False Allow 450 Microsoft Corporation ApplicationPlatform ApplicationPlatform False Allow 400 Microsoft Corporation ApplicationPlatformFormAdaptor ApplicationPlatformFormAdaptor False Allow 855030 Microsoft Corporation IsvFoundation IsvFoundation True Allow 895972027 Isv Corp
Get-D365Model -ExcludeMicrosoftModels
Shows only the models that doesn't have "Microsoft" in the publisher. Will only include models that is Publisher -NotLike "Microsoft*".
A result set example:
ModelName Module IsBinary Customization Id Publisher
IsvFoundation IsvFoundation True Allow 895972027 Isv Corp IsvLicense IsvLicense True DoNotAllow 895972028 Isv Corp
Get-D365Model -ExcludeBinaryModels
Shows only the models that are NOT binary. Will only include models that is IsBinary = "False".
A result set example:
ModelName Module IsBinary Customization Id Publisher
AccountsPayableMobile AccountsPayableMobile False DoNotAllow 895571380 Microsoft Corporation ApplicationCommon ApplicationCommon False DoNotAllow 8956718 Microsoft ApplicationFoundation ApplicationFoundation False Allow 450 Microsoft Corporation
Get-D365Model -CustomizableOnly -ExcludeMicrosoftModels
Shows only the models that are marked as customizable and NOT from Microsoft. Will only include models that is Customization = "Allow". Will only include models that is Publisher -NotLike "Microsoft*".
A result set example:
ModelName Module IsBinary Customization Id Publisher
IsvFoundation IsvFoundation True Allow 895972027 Isv Corp
Get-D365Model -Name "Application*Adaptor"
Shows the list of models where the name fits the search "Application*Adaptor".
A result set example:
ModelName Module IsBinary Customization Id Publisher
ApplicationFoundationFormAd... ApplicationFoundationFormAd... False DoNotAllow 855029 Microsoft Corporation ApplicationPlatformFormAdaptor ApplicationPlatformFormAdaptor False Allow 855030 Microsoft Corporation ApplicationSuiteFormAdaptor ApplicationSuiteFormAdaptor False DoNotAllow 855028 Microsoft Corporation ApplicationWorkspacesFormAd... ApplicationWorkspacesFormAd... False DoNotAllow 855066 Microsoft Corporation
Get-D365Model -Module ApplicationSuite
Shows only the models that are inside the ApplicationSuite module.
A result set example:
ModelName Module IsBinary Customization Id Publisher
Electronic Reporting Applic... ApplicationSuite False DoNotAllow 855009 Microsoft Corporation Foundation ApplicationSuite False DoNotAllow 17 Microsoft Corporation SCMControls ApplicationSuite False DoNotAllow 855891 Microsoft Corporation Tax Books Application Suite... ApplicationSuite False DoNotAllow 895570102 Microsoft Corporation Tax Engine Application Suit... ApplicationSuite False DoNotAllow 8957001 Microsoft Corporation
Get-D365Model -Name "*Application*" -Module "*Suite*"
Shows the list of models where the name fits the search "Application" and the module name fits the search "Suite".
A result set example:
ModelName Module IsBinary Customization Id Publisher
ApplicationSuiteFormAdaptor ApplicationSuiteFormAdaptor False DoNotAllow 855028 Microsoft Corporation AtlApplicationSuite AtlApplicationSuite False DoNotAllow 895972466 Microsoft Corporation Electronic Reporting Applic... ApplicationSuite False DoNotAllow 855009 Microsoft Corporation Tax Books Application Suite... ApplicationSuite False DoNotAllow 895570102 Microsoft Corporation Tax Engine Application Suit... ApplicationSuite False DoNotAllow 8957001 Microsoft Corporation
Name of the model that you are looking for
Accepts wildcards for searching. E.g. -Name "Application*Adaptor"
Default value is "*" which will search for all models
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Name of the module that you want to list models from
Accepts wildcards for searchinf. E.g. -Module "Application*Adaptor"
Default value is "*" which will search across all modules
Type: String
Parameter Sets: (All)
Aliases: ModuleName
Required: False
Position: 2
Default value: *
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Instructs the cmdlet to filter out all models that cannot be customized
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instructs the cmdlet to exclude all models that has Microsoft as the publisher from the output
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet to exclude binary models from the output
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The path to the bin directory for the environment
Default path is the same as the AOS service PackagesLocalDirectory\bin
Default value is fetched from the current configuration on the machine
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: "$Script:BinDir\bin"
Accept pipeline input: False
Accept wildcard characters: False
Path to the directory containing the installed package / module
Default path is the same as the AOS service "PackagesLocalDirectory" directory
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: PackagesLocalDirectory, Servicing, Model, Models, Module, Modules
Author: Mötz Jensen (@Splaxi)
Author: Martin Dráb (@goshoom)
The cmdlet supports piping and can be used in advanced scenarios. See more on github and the wiki pages.