< Back

Set-P1Adapter

Sat Jan 18, 2020 7:03 pm

NAME Set-P1Adapter



SYNOPSIS

Configuration of the adapter for the ERP.





SYNTAX

Set-P1Adapter [-Tenant] <String> [[-Server] <String>] [[-SOAPPort] <Int32>] [[-RESTPort] <Int32>]

[[-AuthenticationMode] <String>] [[-SSL] <Boolean>] [[-ClientPort] <Int32>] [[-InstanceName] <String>]

[[-ERPTenantName] <String>] [[-ServiceDomain] <String>] [[-ServiceLogin] <String>] [[-ServicePassword] <String>]

[-AutoPort] [[-WebServer] <String>] [[-WebPort] <Int32>] [[-WebSite] <String>] [[-BulkPath] <String>]

[[-ExtraParameter] <String>] [<CommonParameters>]





DESCRIPTION

Configure the adapter for PlannerOne.





PARAMETERS

-Tenant <String>

The tenant name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Server <String>

The ERP host server name.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SOAPPort <Int32>

The ERP Web service SOAP port.



Required? false

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-RESTPort <Int32>

The ERP Web service SOAP port.



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-AuthenticationMode <String>

The ERP authentication mode (Certificate, Negotiate, NTLM, Digest, Basic).



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SSL <Boolean>

Does the ERP server use SSL.



Required? false

Position? 6

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ClientPort <Int32>

The port for external client software (RTC...)



Required? false

Position? 7

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-InstanceName <String>

The ERP server instance name.



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ERPTenantName <String>

The ERP tenant name.



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceDomain <String>

The PlannerOne technical account domain.



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceLogin <String>

The PlannerOne technical account login.



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServicePassword <String>

The PlannerOne technical account password.



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AutoPort [<SwitchParameter>]

Read ports from ERP configuration provided with InstanceName



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WebServer <String>

The ERP web server host



Required? false

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WebPort <Int32>

The ERP web server port



Required? false

Position? 14

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WebSite <String>

The ERP web site



Required? false

Position? 15

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BulkPath <String>

The ERP bulk path for data



Required? false

Position? 16

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExtraParameter <String>

Extra parameter specific for ERP.

For NAV, to specify NAVVersion of Powershell module tools to use: -ExtraParameter "NAVVersion=90"



Required? false

Position? 17

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Configure an adapter



Set-P1Adapter -Tenant nodb -ServiceDomain ORTEMS -ServiceLogin PlannerOne -ServicePassword Planner1 -Server

locahost -InstanceName ERPInstance -SOAPPort 9047



"Configure for AP

Set-P1Adapter -Tenant APTenant -Server localhost -SOAPPort 2039 -ServiceLogin "ap\\planadm" -ServicePassword

planadm -WebServer loalhost -WebPort 80 -WebSite APPlus -BulkPath "c:\\temp\\p1data"











RELATED LINKS