Condividi tramite


Get-NAVWebService

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

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.