Get-NAVWebServerInstance

Gets the information about the Microsoft Dynamics NAV Web Server instances that are registered on a computer.

Syntax

Get-NAVWebServerInstance
   [[-WebServerInstance] <String>]
   [-Force]
   [<CommonParameters>]

Description

You can use Get-NAVWebServerInstance cmdlet to get the following information about Microsoft Dynamics NAV Web Server instances that are registered in IIS on the computer.

WebServerInstance: The name of the Microsoft Dynamics NAV Web Server instance Uri: Unified Resource Locator of web server instance.

Server: The computer that is running the Microsoft Dynamics NAV Server that the Microsoft Dynamics NAV Web Server instance connects to.

ServerInstance: The Microsoft Dynamics NAV Server instance that the Microsoft Dynamics NAV Web Server instance connects to.

ClientServicesPort: Specifies the listening TCP port for the Microsoft Dynamics NAV Server instance that the Microsoft Dynamics NAV Web Server instance connects to.

Company: The Microsoft Dynamics NAV company that is configured in the web.config file

DNSIdenity: Specifies the subject name or common name of the service certificate for Microsoft Dynamics NAV Server instance. This parameter is only relevant when the ClientServicesCredentialType in the Microsoft Dynamics NAV Server instance configuration is set to UserName, NavUserPassword, or AccessControlService, which requires that security certificates are used on the Microsoft Dynamics NAV Web client and Microsoft Dynamics NAV Server to protect communication.

ACSUri: Specifies the Unified Resource Identifier of the authentication page when using Windows Azure Access Control Service (ACS) or Windows Azure Active Directory (Windows Azure AD) to authenticate users. This parameter is only relevant when the ClientServicesCredentialType in the Microsoft Dynamics NAV Server instance configuration is set to AccessControlService.

Language: Sets the language version of the Microsoft Dynamics NAV Web client. ReqionFormat: Specifies the culture name that is used to format dates, times, numbers, and currency in the Microsoft Dynamics NAV Web client. Configuration file: The location of the web.config file that is used by the Microsoft Dynamics NAV Web Server instance.

Examples

EXAMPLE 1

Get-NAVWebServerInstance -WebServerInstance DynamicsNAV

This example gets information about the Microsoft Dynamics NAV Web Server instance that is named DynamicsNAV.

Optional Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WebServerInstance

Specifies the name of the Microsoft Dynamics NAV Web Server instance that you want information about.

If you omit this parameter, then the cmdlet returns information about all Microsoft Dynamics NAV Web Server instances.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

You can pipe a string that contains a Microsoft Dynamics NAV Web Server instance name to the cmdlet.

Outputs

System.Data.DataRow

Returns the Microsoft Dynamics NAV Web Server instance information as a row.