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 DynamicsNAV71. 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 .
DatabaseInstance NAVDEMO
DatabaseName Demo Database NAV (7-0)
EnableSqlConnectionEncryption false
TrustSQLServerCertificate true
ServerInstance MyInstance
ClientServicesPort 7046
SOAPServicesPort 7047
ODataServicesPort 7048
ManagementServicesPort 7045
ManagementServicesEnabled true
ClientServicesEnabled true
SOAPServicesEnabled true
ODataServicesEnabled true
SOAPServicesSSLEnabled false
ODataServicesSSLEnabled false
SOAPServicesMaxMsgSize 1024
ServicesUseNTLMAuthentication false
ServicesDefaultTimeZone UTC
ODataServicesMaxPageSize 1000
ClientServicesOperationTimeout MaxValue
ClientServicesProtectionLevel EncryptAndSign
MaxConcurrentCalls 40
ClientServicesMaxConcurrentConnections 150
ClientServicesReconnectPeriod 00:10:00
ClientServicesMaxNumberOfOrphanedCon... 20
ClientServicesCompressionThreshold 64
MetadataProviderCacheSize 150
ClientServicesMaxUploadSize 5
EnableDebugging false
DebuggingAllowed true
ClientServicesMaxItemsInObjectGraph 512
ClientServicesChunkSize 28
ClientServicesProhibitedFileTypes ade;adp;app;asp;bas;bat;chm;cmd;com;...
NASServicesStartupCodeunit
NASServicesStartupMethod
NASServicesStartupArgument
NASServicesCompany
NASServicesEnableDebugging false
ClientServicesCredentialType Windows
ClientServicesTokenSigningKey
ClientServicesCertificateThumbprint
ClientServicesCertificateValidationE... true
EnableSoftwareQualityMetrics false
DataCacheSize 9
SessionEventTableRetainPeriod 3
SessionEventTablePurgeFrequency 0 6:00
EnableStaticAssemblies False
ClientServicesIdleClientTimeout MaxValue
OrphanedConnectionPurgePeriod 00:01:00
Binding
ODataServicesDefaultCompany
UseQueryForFind False
BufferedInsertEnabled True
SqlConnectionTimeout 0:01:30
SqlCommandTimeout 0:30:00
SessionEventTablePurgeLookupPeriod 2:00:00
CacheSynchronizationPeriod 0:00:30
HeartbeatPeriod 0:00:30
ResultSetGroupCacheUsesGlobalCache True
UseCalculatedFieldsCache True
UseResultSetCache True
UseNewLicenseModel 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 = Demo Database NAV (7-0)
}
...
]
}
-------------------------- 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 = Demo Database NAV (7-0)
}
...
]
}
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
}
}
}
}