Invoke-InplacePublishing
DO NOT USE: This cmdlet is for internal use only.
Performs an in-place publishing by adjusting the current emit version to existing metadata.
Syntax
Default (Default)
Invoke-InplacePublishing
-DatabaseName <String>
[-DatabaseServerName <String>]
[-NodeName <String>]
[-EmitVersionOverride <Int32>]
[-Recompile]
[-DebugIt]
[-SkipTenantMounting]
[-ServerInstance] <String>
[-Force]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
This cmdlet is for internal use only.
Examples
EXAMPLE 1
Invoke-InplacePublishing -DatabaseName BusinessCentral
This example will clone all existing metadata entries with the current emit version
EXAMPLE 2
Invoke-InplacePublishing -DatabaseName BusinessCentral -Recompile
This example will actually do a full compilation of all installed apps and will store the newly emitted metadata. If compilation fails the existing metadata will be cloned with the new emit version.
Parameters
-DatabaseName
Specifies the Business Central App database name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-DatabaseServerName
Specifies the a Business Central database server name
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-DebugIt
Specifies a flag to start debugging the command-let
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-EmitVersionOverride
An integer specifying what emit version to use overriding what the AL compiler supports. By overriding the emit version and invoking inplace publishing the NST will act retrieving csharp and xml metadata with this EmitVersionOverride
Parameter properties
| Type: | Int32 |
| Default value: | -1 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-Force
Forces the command to run without asking for user confirmation.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-NodeName
Specifies a node name used with forced installations to simulate Fabric based in-place publishing
Parameter properties
| Type: | String |
| Default value: | A26d6780-361a-4cc4-9a02-78cee22094b7 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ProgressAction
A common PowerShell parameter that determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider. Learn more.
Parameter properties
| Type: | ActionPreference |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | proga |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Recompile
Specifies a flag to do a full in-place compilation of all installed apps, rather than cloning metadata
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ServerInstance
Specifies the Business Central Server instance.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-SkipTenantMounting
Specifies a flag whether to skip the default tenant mounting as in place publishing finishes.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
By value and by property name: DatabaseName
System.String
By value and by property name: DatabaseServerName
System.String
By value and by property name: NodeName
System.Int32
By value and by property name: EmitVersionOverride
System.Management.Automation.SwitchParameter
By value and by property name: DebugIt
System.Management.Automation.SwitchParameter
By value and by property name: DebugIt
System.Management.Automation.SwitchParameter
By value and by property name: SkipTenantMounting