https://github.com/mazzy-ax/xpotools
Powershell advanced functions to split and to merge XPO files contains AOT objects of Microsoft Dynamics AX (Axapta) 3.0, 4.0, 2009, 2012
https://github.com/mazzy-ax/xpotools
dynamics-ax powershell xpo xpo-files
Last synced: 6 months ago
JSON representation
Powershell advanced functions to split and to merge XPO files contains AOT objects of Microsoft Dynamics AX (Axapta) 3.0, 4.0, 2009, 2012
- Host: GitHub
- URL: https://github.com/mazzy-ax/xpotools
- Owner: mazzy-ax
- License: mit
- Created: 2018-04-22T15:46:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T21:21:48.000Z (about 7 years ago)
- Last Synced: 2025-07-27T11:15:16.420Z (6 months ago)
- Topics: dynamics-ax, powershell, xpo, xpo-files
- Language: PowerShell
- Homepage:
- Size: 70.3 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# xpoTools
[project]:https://github.com/mazzy-ax/xpoTools
[license]:https://github.com/mazzy-ax/xpoTools/blob/master/LICENSE
[ps]:https://www.powershellgallery.com/packages/xpoTools
[nuget]:https://www.nuget.org/packages/xpoTools/
[appveyor]:https://ci.appveyor.com/project/mazzy-ax/xpotools
[][appveyor]
[][ps]
[][nuget]

[xpoTools][project] is a Powershell module contains advanced functions that splits one XPO file into separate XPO files and combines a set of interdependent XPO files into a single XPO file.
XPO file is a text file contains Microsoft Dynamics AX (Axapta) objects. See [tests/assets](tests/assets) folder for example.
*xpoTools* features:
* convert jobs and classes `xpo` to `xpp` files (similar to `ax7`)
* create target folders by groups in developer projects, AOT objects path, object prefix, project names
* choose target folders structure by switch `pathStyle`: `Default`, `AOT`, `Flat`, `FlatAOT`, `Project`, `FlatProject`, `All` and `mazzy`
* define own target folders structure
* include and exclude files based on a file name. For example, to exclude `DEL_` objects
* filter AOT objects based on a text within XPO elements
* uses Encoding parameter
## Credits
*xpoTools* inspired by:
* [Combine XPO Tool](https://msdn.microsoft.com/ru-ru/library/jj225589.aspx)
* [AOTExportSeparated](https://github.com/DAXaholic/AOTExportSeparated) by [DAXaholic](https://github.com/DAXaholic)
## Installation
Automatic install *xpoTools* module from the [PowerShell Gallery][ps]:
```powershell
Install-Module -Name xpoTools
Import-Module xpoTools
```
Automatic install Write-ProgressEx module from the [NuGet.org][nuget]:
```powershell
Install-Package -Name xpoTools
Import-Module xpoTools
```
or manual:
* Download and unblock the latest .zip file.
* Extract the .zip into your `$PSModulePath`, e.g. `~\Documents\WindowsPowerShell\Modules`.
* Ensure the extracted folder is named `xpoTools`.
* Set an execution policy to `RemoteSigned` or `Unrestricted` to execute not signed modules `Set-ExecutionPolicy RemoteSigned`.
* Run `Import-Module xpoTools`.
## Changelog
* [CHANGELOG.md](CHANGELOG.md)
* .
## Disclaimer
*xpoTools* use regexp to parse XPO files. It have no validation of XPO elements.
## License
This project is released under the [licensed under the MIT License][license].
mazzy@mazzy.ru