-
Notifications
You must be signed in to change notification settings - Fork 102
Get D365AOTObject
Search for AOT object
Get-D365AOTObject [-Path] <String> [[-ObjectType] <String[]>] [[-Name] <String>] [-SearchInPackages]
[-IncludePath] [<CommonParameters>]
Enables you to search for different AOT objects
Get-D365AOTObject -Name *flush* -ObjectType AxClass -Path "C:\AOSService\PackagesLocalDirectory\ApplicationFoundation"
This will search inside the ApplicationFoundation package for all AxClasses that matches the search flush.
Get-D365AOTObject -Name *flush* -ObjectType AxClass -IncludePath -Path "C:\AOSService\PackagesLocalDirectory\ApplicationFoundation"
This will search inside the ApplicationFoundation package for all AxClasses that matches the search flush and include the full path to the files.
Get-D365InstalledPackage -Name Application* | Get-D365AOTObject -Name *flush* -ObjectType AxClass
This searches for all packages that matches Application* and pipes them into Get-D365AOTObject which will search for all AxClasses that matches the search flush.
Get-D365AOTObject -Path "C:\AOSService\PackagesLocalDirectory\*" -Name *flush* -ObjectType AxClass -SearchInPackages
This is an advanced example and shouldn't be something you resolve to every time.
This will search across all packages and will look for the all AxClasses that matches the search flush. It will NOT search in the XppMetaData directory for each package.
This can stress your system.
Path to the package that you want to work against
Type: String
Parameter Sets: (All)
Aliases: PackageDirectory
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The type of AOT object you're searching for
Type: String[]
Parameter Sets: (All)
Aliases: Type
Required: False
Position: 2
Default value: @("AxClass")
Accept pipeline input: False
Accept wildcard characters: False
Name of the object that you're looking for
Accepts wildcards for searching. E.g. -Name "Work*status"
Default value is "*" which will search for all objects
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to search in packages directly instead of searching in the XppMetaData directory under a given package
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Switch to instruct the cmdlet to include the path for the object found
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.
Author: Mötz Jensen (@Splaxi)
- 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