Get-NAVWebService

Gets a list of all web services that are created in the application on the specified Business Central Server instance.

Syntax

Get-NAVWebService
   [-ServerInstance] <String>
   [-Force]
   [<CommonParameters>]

Description

Use the Get-NAVWebService cmdlet to see all web services that have been created in the application that is mounted against the specified Business Central Server instance.

Examples

EXAMPLE 1

Get-NAVWebService BC

ObjectId            ObjectType          ServiceName         Published

--------            ----------          -----------         ---------

21                  Page                Customer            True

26                  Page                Vendor              True

The example returns a table of the web services that have been created in the application that is mounted against the Business Central Server instance BC. The return data shows two web services.

Parameters

-Force

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

-ServerInstance

Specifies the name of a Business Central Server instance, for example, BC 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:True
Accept pipeline input:True
Accept wildcard characters:False