< Back

Switch-P1DEVTenant

Sat Jan 18, 2020 7:04 pm

NAME Switch-P1DEVTenant



SYNOPSIS

Switch to another DEV branch an existing PlannerOne tenant (service + web app).





SYNTAX

Switch-P1DEVTenant [-Tenant] <String> [-DevType] <String> [[-Branch] <String>] [<CommonParameters>]





DESCRIPTION

Switch an existing PlannerOne tenant to another branch.

Warning: PlannerOne service will be restarted during the process.





PARAMETERS

-Tenant <String>

The tenant name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DevType <String>

The type of the tenant could be ApAdapter, NavAdapter or PlanningManagement.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Branch <String>

The branch to switch to (trunk if empty).



Required? false

Position? 3

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:\\># Switch a PlannerOne tenant named DEVPM to branch PO-1234.



Switch-P1DEVTenant -Tenant DEVPM -Branch PO-1234











RELATED LINKS