< Back

New-P1Tenant

Sat Jan 18, 2020 7:01 pm

NAME New-P1Tenant



SYNOPSIS

Install a new PlannerOne tenant (service + web app).





SYNTAX

New-P1Tenant [-Tenant] <String> [[-RemotingPort] <Int32>] [[-WebServicePort] <Int32>] [[-WebPort] <Int32>]

[[-WebAppName] <String>] [-ERP] <String> [[-SiteRootPath] <String>] [[-ServiceRootPath] <String>]

[<CommonParameters>]





DESCRIPTION

Install a new PlannerOne tenant with the given parameters.

One tenant should be:

* One Windows service

* One application pool

* One web site

* One web application

Every name are set by convention from tenant name.

You can force web application name for backward compatibility.

Keep convention name if possible for easier maintenance.





PARAMETERS

-Tenant <String>

The tenant name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RemotingPort <Int32>

The port to be used by AppServer for Remoting API.



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WebServicePort <Int32>

The port to be used by AppServer for REST API.



Required? false

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WebPort <Int32>

The customized port to be used by WebServer site.



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WebAppName <String>

The customized name to use for web application.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ERP <String>

The ERP to use (NAV, AP, SAGE).



Required? true

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SiteRootPath <String>

The IIS Web site root path (default: c:\\inetpub\\wwwroot)



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceRootPath <String>

The default main service root path (default: c:\\Program Files)



Required? false

Position? 8

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:\\># Install a PlannerOne tenant named P1Prod.



New-P1Tenant -Tenant P1Prod -ERP SAGE











RELATED LINKS