< Back
Get-AxAutoRunXml
Post
NAME Get-AxAutoRunXml
SYNOPSIS
Get a valid Autorun XML file for AX 2012
SYNTAX
Get-AxAutoRunXml [[-OutputPath] <String>] [[-LogFile] <String>] [-ExitWhenDone] [-SynchronizeDB] [-CompileCilFull]
[-CompileCilIncremental] [-CompileXpp] [-CompileXppAndXRefUpdate] [<CommonParameters>]
DESCRIPTION
Generate a valid Autorun XML file based on the selected parameters and have it saved on the disk
PARAMETERS
-OutputPath <String>
The path where you want to store to autorun xml file
The path must be a full path to a file
Required? false
Position? 1
Default value (Join-Path $Script:DefaultTempPath "Autorun.xml")
Accept pipeline input? false
Accept wildcard characters? false
-LogFile <String>
The path where you want the autorun process to save its log file
The path must be a full path to a file
Required? false
Position? 2
Default value (Join-Path $Script:DefaultTempPath "Autorun_Output.txt")
Accept pipeline input? false
Accept wildcard characters? false
-ExitWhenDone [<SwitchParameter>]
Instruct the autorun process wether you want it to exit the AX 2012 client when done or not
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SynchronizeDB [<SwitchParameter>]
Instruct the autorun to do a synchronization of the database
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileCilFull [<SwitchParameter>]
Instruct the autorun to do a full CIL compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileCilIncremental [<SwitchParameter>]
Instruct the autorun to do a incremental CIL compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileXpp [<SwitchParameter>]
Instruct the autorun to do a full X++ (Xpp) compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileXppAndXRefUpdate [<SwitchParameter>]
Instruct the autorun to do a full X++ (Xpp) compile and do a full Cross Reference (XRef) update
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Tags:
Author: M??????tz Jensen (@Splaxi)
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AxAutoRunXml -ExitWhenDone -SynchronizeDB
This will generate a valid Autorun xml file for synchronizing the database.
It will use the default path "c:\\temp\\ax2012.tools\\Autorun.xml" where the file will be stored.
It will use the default path "c:\\temp\\ax2012.tools\\Autorun_Output.txt" to instruct the Autorun where to save its
log file.
It will instruct the Autorun to exit when done.
It will instruct the Autorun to do a synchronization of the database.
RELATED LINKS
SYNOPSIS
Get a valid Autorun XML file for AX 2012
SYNTAX
Get-AxAutoRunXml [[-OutputPath] <String>] [[-LogFile] <String>] [-ExitWhenDone] [-SynchronizeDB] [-CompileCilFull]
[-CompileCilIncremental] [-CompileXpp] [-CompileXppAndXRefUpdate] [<CommonParameters>]
DESCRIPTION
Generate a valid Autorun XML file based on the selected parameters and have it saved on the disk
PARAMETERS
-OutputPath <String>
The path where you want to store to autorun xml file
The path must be a full path to a file
Required? false
Position? 1
Default value (Join-Path $Script:DefaultTempPath "Autorun.xml")
Accept pipeline input? false
Accept wildcard characters? false
-LogFile <String>
The path where you want the autorun process to save its log file
The path must be a full path to a file
Required? false
Position? 2
Default value (Join-Path $Script:DefaultTempPath "Autorun_Output.txt")
Accept pipeline input? false
Accept wildcard characters? false
-ExitWhenDone [<SwitchParameter>]
Instruct the autorun process wether you want it to exit the AX 2012 client when done or not
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SynchronizeDB [<SwitchParameter>]
Instruct the autorun to do a synchronization of the database
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileCilFull [<SwitchParameter>]
Instruct the autorun to do a full CIL compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileCilIncremental [<SwitchParameter>]
Instruct the autorun to do a incremental CIL compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileXpp [<SwitchParameter>]
Instruct the autorun to do a full X++ (Xpp) compile
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CompileXppAndXRefUpdate [<SwitchParameter>]
Instruct the autorun to do a full X++ (Xpp) compile and do a full Cross Reference (XRef) update
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Tags:
Author: M??????tz Jensen (@Splaxi)
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AxAutoRunXml -ExitWhenDone -SynchronizeDB
This will generate a valid Autorun xml file for synchronizing the database.
It will use the default path "c:\\temp\\ax2012.tools\\Autorun.xml" where the file will be stored.
It will use the default path "c:\\temp\\ax2012.tools\\Autorun_Output.txt" to instruct the Autorun where to save its
log file.
It will instruct the Autorun to exit when done.
It will instruct the Autorun to do a synchronization of the database.
RELATED LINKS