Save-NAVTenantConfiguration
Save-NAVTenantConfiguration
Saves the current tenant configuration on the specified Microsoft Dynamics NAV Server instance.
Syntax
Parameter Set: __AllParameterSets
Save-NAVTenantConfiguration [-ServerInstance] <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
Use the Save-NAVTenatConfiguration cmdlet to save the current tenant configuration on the specified Microsoft Dynamics NAV Server instance. If the instance is restarted, the configuration file, tenant.config, describes the tenants that must be mounted against the instance.
A tenant configuration consists of the Microsoft Dynamics NAV application and the tenants that are mounted against the Microsoft Dynamics NAV Server instance, and any registered database servers. Note that if a database server is set up to use database authentication, the username and password will be written out in clear text.
Parameters
-Force
Forces the command to run without asking for user confirmation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ServerInstance<String>
Specifies the Microsoft Dynamics NAV Server instance that the company uses, such as DynamicsNAV80. You can specify either the fully qualified name, such as 'MyServer$MyInstance', or the short name, such as 'MyInstance'.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
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, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
You can pipe the value of the ServerInstance parameter as a string to this cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
None
This cmdlet does not generate any output.
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This example saves the current tenant configuration of the specified server instance to the tenants.config file.
PS C:\> Save-NAVTenantConfiguration –ServerInstance DynamicsNAV80