Get-NAVServerInstance
Gets service details for the specified Dynamics NAV Server instance.
Get-NAVServerInstance
[[-ServerInstance] <String>]
[-AsXml]
[-Force]
[<CommonParameters>]
Use the Get-NAVServerInstance cmdlet to obtain service details for the specified Microsoft Dynamics NAV Server instance.
If no Microsoft Dynamics NAV Server instance is specified, then the cmdlet obtains service details for all Microsoft Dynamics NAV Server instances on the server computer. The service details include the name of the instance (for example, MicrosoftDynamicsNavServer$DynamicsNAV), the display name (for example, Microsoft Dynamics NAV Server [DynamicsNAV]), the state of the instance (Running or Stopped), the Service Account (that is, the account that the Microsoft Dynamics NAV Server uses for its credentials), the Microsoft Dynamics NAV Server version (such as 7.0.33571.0), and whether the instance is the default Microsoft Dynamics NAV Server instance.
Get-NavServerInstance MyInstance
Name : MicrosoftDynamicsNavServer$MyInstance
DisplayName : Microsoft Dynamics NAV Server [MyInstance]
State : Running
ServiceAccount : NT AUTHORITY\NETWORK SERVICE
Version : 7.1.33544.0
Default : False
This example returns status information for the MyInstance Microsoft Dynamics NAV Server instance.
Formats the cmdlet output as an XML document.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a Dynamics NAV Server instance, for example, DynamicsNAV or myinstance. You can specify either the full name of an instance, such as MicrosoftDynamicsNavServer$myinstance or the short name such as myinstance.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
System.String
You can pipe a string that contains a Microsoft Dynamics NAV Server instance name to the cmdlet.
System.Xml.XPathNodeList
Returns the Microsoft Dynamics NAV Server instances as well-formatted text.
System.Xml.XmlDocument
If you use the AsXml parameter, then the cmdlet returns the Microsoft Dynamics NAV Server instances as an XML document