ALD, AOT, Automation, AX, AX 2012, AX Artifacts, AX Database, AX Import, AX Label, Build Scripts, Compile, DB, Dynamics AX, PowerShell, PowerShell Module, R2 CU7, Server Compile, Team Foundation Server, TFS, XPO
The D2DDynamics custom PowerShell module is finally available in Codeplex. The 1.0.0 version includes 15 exportable PowerShell functions and 3 internal helper functions. They are:
The 3 internal functions are:
This module is dependent on the 0.3.5 release of the DynamicsAXCommunity PowerShell module among others. There are also some variables that should be set up in your profile if you are planning on using the functions. The profile that I use can be found in Codeplex at Source Code -> Powershell -> Profile -> Modules -> Microsoft.PowerShell_profile.ps1. Please use this as a reference for setting up your own profile.
To install the module, copy the D2DDynamics folder to the module folder for PowerShell. On my Server 2012 server, the location is “C:\Windows\System32\WindowsPowerShell\v1.0\Modules”. After the module is there, you should be able to open PowerShell and add it with the Import-Module cmdlet.
Future posts will include the steps necessary to create a custom build process using the module as well as more functions that can be used for deploying your build to other environments. Please let me know what you think of the module and if you find any problems with using the functions in your environments.