Get-NAVServerConfiguration

Get-NAVServerConfiguration

Returns configuration settings for the specified Microsoft Dynamics NAV Server instance.

Syntax

Parameter Set: __AllParameterSets
Get-NAVServerConfiguration [-ServerInstance] <String> [-AsXml] [ <CommonParameters>]

Detailed Description

Use the Get-NAVServerConfiguration cmdlet to return configuration settings for the specified Microsoft Dynamics NAV Server instance.

Parameters

-AsXml

Formats cmdlet output as an XML document.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerInstance<String>

Specifies the name of a Microsoft Dynamics NAV Server instance. The default instance name is DynamicsNAV90. You can specify either the full name of an instance (such as MicrosoftDynamicsNavServer$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

<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 a string that contains a Microsoft Dynamics NAV Server instance name to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Xml.XPathNodeList

    Returns the configuration settings as well-formatted text.

  • System.Xml.XmlDocument

    If you use the AsXml parameter, then the cmdlet returns the configuration settings as an XML document.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example returns configuration details for the Microsoft Dynamics NAV Server instance server named MyInstance on the Microsoft Dynamics NAV Server computer.

C:\PS>Get-NAVServerConfiguration MyInstance
key                                     value

---                                     -----

NetworkProtocol                         Default

DatabaseServer                          MyServer

DatabaseInstance                        NAVDEMO

DatabaseName                            My Database

EnableSqlConnectionEncryption           false

TrustSQLServerCertificate               false

ServerInstance                          MyInstance

ClientServicesPort                      7046

SOAPServicesPort                        7047

ODataServicesPort                       7048

ManagementServicesPort                  7045

ManagementServicesEnabled               true

ClientServicesEnabled                   true

SOAPServicesEnabled                     true

ODataServicesEnabled                    true

SOAPServicesSSLEnabled                  false

ODataServicesSSLEnabled                 false

PublicODataBaseUrl

PublicSOAPBaseUrl

PublicWebBaseUrl

PublicWinBaseUrl

DefaultClient                           Windows

SOAPServicesMaxMsgSize                  1024

ServicesUseNTLMAuthentication           false

ServicesDefaultTimeZone                 UTC

ServicesDefaultCompany

ODataServicesMaxPageSize                1000

ClientServicesOperationTimeout          MaxValue

ClientServicesProtectionLevel           EncryptAndSign

MaxConcurrentCalls                      40

ClientServicesMaxConcurrentConnections  150

ClientServicesReconnectPeriod           00:10:00

ClientServicesMaxNumberOfOrphanedCon... 20

ClientServicesCompressionThreshold      64

MetadataProviderCacheSize               150

ClientServicesMaxUploadSize             300

EnableDebugging                         false

DebuggingAllowed                        true

ClientServicesMaxItemsInObjectGraph     512

ClientServicesChunkSize                 28

ClientServicesProhibitedFileTypes       ade;adp;app;asp;bas;bat;chm;cmd;com;... 

NASServicesStartupCodeunit

NASServicesStartupMethod

NASServicesStartupArgument

NASServicesEnableDebugging              false

NASServicesRetryAttemptsPerDay          3

ClientServicesCredentialType            Windows

UIElementRemovalOption                  LicenseFileAndUserPermissions

ClientServicesTokenSigningKey

ClientServicesFederationMetadataLoca... 

AppIdUri

ServicesCertificateThumbprint

ServicesCertificateValidationEnabled    true

EnableSoftwareQualityMetrics            false

DataCacheSize                           9

SessionEventTableRetainPeriod           3

SqlCommandTimeout                       00:30:00

BufferedInsertEnabled                   true

DocumentServicesProvider                SHAREPOINTONLINE

EnableFullALFunctionTracing             false

Multitenant                             False

CloseInactiveSqlConnectionsGeneration   10

EnableALServerFileAccess                true

EnableStaticAssemblies                  False

ClientServicesIdleClientTimeout         MaxValue

OrphanedConnectionPurgePeriod           00:01:00

Binding

UseQueryForFind                         False

SqlParametersByOrdinal                  True

SqlConnectionTimeout                    0:01:30

SessionEventTablePurgeLookupPeriod      24:00:00

CacheSynchronizationPeriod              0:00:30

HeartbeatPeriod                         0:00:30

ResultSetGroupCacheUsesGlobalCache      True

UseCalculatedFieldsCache                True

UseResultSetCache                       True

EnableTempTableSizeReporting            False

-------------------------- EXAMPLE 2 --------------------------

Description

-----------

This example returns configuration details for the Microsoft Dynamics NAV Server instance named MyInstance on the Microsoft Dynamics NAV Server computer in XML format.

C:\PS>(Get-NAVServerConfiguration MyInstance -AsXml).configuration.appSettings | fc

class XmlElement
{
add =
[
class XmlElement
{
key = NetworkProtocol
value = Default
}
class XmlElement
{
key = DatabaseServer
value = DB112
}
class XmlElement
{
key = DatabaseInstance
value = NAVDEMO
}
class XmlElement
{
key = DatabaseName
value = My Database
}
...
]

}

-------------------------- EXAMPLE 3 --------------------------

Description

-----------

This example returns an XML document that contains the details for the Microsoft Dynamics NAV Server instance named MyInstance on the Microsoft Dynamics NAV Server computer.

C:\PS>Get-NAVServerConfiguration MyInstance -AsXml | fc

class XmlDocument
{
xml = version="1.0" encoding="utf-8"
configuration =
class XmlElement
{
configSections =
class XmlElement
{
section =
class XmlElement
{
name = uri
type = System.Configuration.UriSection, System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
}
}
appSettings =
class XmlElement
{
add =
[
class XmlElement
{
key = NetworkProtocol
value = Default
}
class XmlElement
{
key = DatabaseServer
value = DB112
}
class XmlElement
{
key = DatabaseInstance
value = NAVDEMO
}
class XmlElement
{
key = DatabaseName
value = My Database
}
...
]

}
system.diagnostics =
class XmlElement
{
assert =
class XmlElement
{
assertuienabled = false
}
}
uri =
class XmlElement
{
schemeSettings =
class XmlElement
{
add =
[
class XmlElement
{
name = http
genericUriParserOptions = DontUnescapePathDotsAndSlashes
}
class XmlElement
{
name = https
genericUriParserOptions = DontUnescapePathDotsAndSlashes
}
]

}
}
system.net =
class XmlElement
{
settings =
class XmlElement
{
httpListener =
class XmlElement
{
unescapeRequestUrl = false
}
}
}
runtime =
class XmlElement
{
gcConcurrent =
class XmlElement
{
enabled = false
}
gcServer =
class XmlElement
{
enabled = true
}
}
}
}