Get-NavAppRuntimePackage
Get a NAV App runtime package
Syntax
Get-NavAppRuntimePackage
[-Id <String>]
[-Name <String>]
[-Publisher <String>]
[-Version <Version>]
-Path <String>
[-ServerInstance] <String>
[<CommonParameters>]
Get-NavAppRuntimePackage
-ApplicationDatabaseName <String>
[-ApplicationDatabaseServer <String>]
[-ApplicationDatabaseCredentials <PSCredential>]
[-ServiceAccount <String>]
[-SandboxDatabaseName <String>]
[-SandboxDatabaseServer <String>]
[-SandboxDatabaseCredentials <PSCredential>]
[-SqlTimeout <UInt32>]
[-Force]
[-ServerInstance] <String>
[<CommonParameters>]
Get-NavAppRuntimePackage
-SandboxDatabaseName <String>
[-SandboxDatabaseServer <String>]
[-SandboxDatabaseCredentials <PSCredential>]
[-SqlTimeout <UInt32>]
[-Force]
[-ServerInstance] <String>
[<CommonParameters>]
Description
Use the Get-NAVAppRuntimePackage cmdlet to get a NAV App runtime package.
Examples
---------- EXAMPLE 1 ----------
Get-NAVAppRuntimePackage -ServerInstance DynamicsNAV -Name 'Proseware SmartApp' -Version 2.3.4.500 -Path 'Prosware SmartApp_2.3.4.500_runtime.app'
This example gets the NAV App runtime package with the provided name and version.
Parameters
-ApplicationDatabaseCredentials
Specifies the user name and password of a SQL Server Authentication login account that provides access to the application database in SQL Server. You use this parameter to access the database by using SQL Server Authentication. If you want to use Windows Authentication, then you can omit this parameter.The login account must be a member of the db_owner role on the database. If the sandbox database is an Azure SQL Database, the user name must follow the pattern <username>@<azureserverid>, e.g. navadmin@z8bdostg9d.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ApplicationDatabaseName
The name of an existing NAV SQL database that you want to use as the Application for completing the publishing process, such as 'DynamicsNAV_App'.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ApplicationDatabaseServer
Specifies the name of the computer on which the SQL Server instance for the application database is installed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Specifies the ID of the NAV App to be returned.
Type: | String |
Aliases: | AppId |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specifies the name of the NAV App to be returned.
Type: | String |
Aliases: | AppName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Path
Specifies the path where the binary extension will be written to.
Type: | String |
Aliases: | ExtensionPath |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Publisher
Specifies the publisher of the NAV App to be returned.
Type: | String |
Aliases: | AppPublisher |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SandboxDatabaseCredentials
Specifies the user name and password of a SQL Server Authentication login account that provides access to the sandbox database in SQL Server. You use this parameter to access the database by using SQL Server Authentication. If you want to use Windows Authentication, then you can omit this parameter.The login account must be a member of the db_owner role on the database. If the sandbox database is an Azure SQL Database, the user name must follow the pattern <username>@<azureserverid>, e.g. navadmin@z8bdostg9d.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SandboxDatabaseName
The name of an existing SQL database that you want to use as a sandbox for completing the publishing process, such as 'DynamicsNAV_Sandbox'. A database will automatically be created on the same SQL Server as the NAV application database if not provided. If your NAV application database is deployed as an Azure SQL Database, then you must provide an existing database since the cmdlet isn't able to automatically create a new sandbox database. The current content of the sandbox database will be overwritten.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SandboxDatabaseServer
Specifies the name of the computer on which the SQL Server instance for the sandbox database is installed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServerInstance
Specifies the Microsoft Dynamics NAV Server instance on which the NAV App runtime package is deployed, such as DynamicsNAV110.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServiceAccount
Specifies the name of the windows service account used by the server to access the NAV Application Database. Only needed when not supplying an existing sandbox database.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SqlTimeout
The time (in seconds) to wait before terminating an attempt to execute a command on SQL Server, such as reading content or restoring the database from a .bak file.
Type: | UInt32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Version
Specifies the exact version of the NAV App to be returned.
Type: | Version |
Aliases: | AppVersion |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.String
By property name: Id
System.String
By property name: Name
System.String
By property name: Publisher
System.Version
By property name: Version
System.String
By property name: Version
System.String
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for