Get-NAVWebService

Gets a list of all web services that are created in the application on the specified Microsoft Dynamics NAV 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 Microsoft Dynamics NAV Server instance.

Examples

EXAMPLE 1

Get-NAVWebService DynamicsNAV

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 Microsoft Dynamics NAV Server instance DynamicsNAV. 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 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:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False