Set-AXModelStore
Set-AXModelStore
Syntax
Parameter Set: Default Set-AXModelStore [-Config <String> ] [-Database <String> ] [-InstallMode] [-NoInstallMode] [-Server <String> ] [ <CommonParameters>]
Detailed description
The Set-AXModelStore cmdlet sets a flag in the model store that indicates the action to take when a model has been modified. If the -InstallMode parameter is used, the Microsoft Dynamics AX client shows a dialog box that provides access to the Model code upgrade checklist on startup after a model has been modified.
Parameters
-Config<String>
Specifies an Application Object Server (AOS) configuration to use to determine the model store database and server name. The default value is the configuration that is currently active. This parameter cannot be used with the -Database or -Server parameters. If no -Database, -Server, or -Config parameters are supplied, the default configuration is used.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-Database<String>
Specifies the Microsoft Dynamics AX model store database. This parameter cannot be used with the -Config parameter. If the -Database parameter is specified without a -Server parameter, the default server value of "(local)" is used.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-InstallMode
Sets the Microsoft Dynamics AX client to show a dialog box on startup after a model has been modified. The dialog box provides access to the Model code upgrade checklist, or the ability to compile and synchronize the database.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-NoInstallMode
Sets the Microsoft Dynamics AX client to not launch a dialog box on startup after a model has been modified. If you use this parameter, you may need to manually run the Model code upgrade checklist.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-Server<String>
Specifies the server that hosts the Microsoft Dynamics AX model store database. This parameter can only be used with the -Database parameter--it cannot be used by itself.
Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, OutBuffer, OutVariable, WarningAction, and WarningVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/?LinkID=113216
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
-
None
You cannot pipe input to this cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
-
None
The cmdlet does not generate any output.
Examples
This example sets the Microsoft Dynamics AX client to not launch a dialog box on startup after a model has been modified.
PS C:\>Set-AXModelStore -NoInstallMode
PS C:\>
Copyright Microsoft Corporation. All rights reserved.