Skip to content

Latest commit

 

History

History
133 lines (102 loc) · 3.06 KB

File metadata and controls

133 lines (102 loc) · 3.06 KB
external help file OutSystems.SetupTools-help.xml
Module Name OutSystems.SetupTools
online version
schema 2.0.0

Publish-OSPlatformLifetime

SYNOPSIS

Installs or updates Outsystems Lifetime.

SYNTAX

PSCred (Default)

Publish-OSPlatformLifetime [-Force] [-Credential <PSCredential>] [<CommonParameters>]

UserAndPass

Publish-OSPlatformLifetime [-Force] [-ServiceCenterUser <String>] [-ServiceCenterPass <String>]
 [<CommonParameters>]

DESCRIPTION

This will install or update OutSystems Lifetime. You need to specify a user and a password to connect to Service Center. If you dont specify, the default admin will be used. It will skip the installation if already installed with the right version. Service Center needs to be installed using the Install-OSPlatformServiceCenter cmdlet and the OutSystems system components needs to be installed using the Publish-OSPlatformSystemComponents cmdlet.

EXAMPLES

EXAMPLE 1

Using PSCredentials

$cred = Get-Credential Publish-OSPlatformLifetime -Credential $cred

EXAMPLE 2

$cred = New-Object System.Management.Automation.PSCredential ("admin", $(ConvertTo-SecureString "admin" -AsPlainText -Force))

Publish-OSPlatformLifetime -Credential $cred

EXAMPLE 3

Publish-OSPlatformLifetime -Force -ServiceCenterUser "admin" -ServiceCenterPass "admin"

PARAMETERS

-Force

Forces the reinstallation if already installed.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ServiceCenterUser

Service Center username (deprecated. will be removed in future module versions).

Type: String
Parameter Sets: UserAndPass
Aliases:

Required: False
Position: Named
Default value: $OSSCUser
Accept pipeline input: False
Accept wildcard characters: False

-ServiceCenterPass

Service Center password (deprecated. will be removed in future module versions).

Type: String
Parameter Sets: UserAndPass
Aliases:

Required: False
Position: Named
Default value: $OSSCPass
Accept pipeline input: False
Accept wildcard characters: False

-Credential

PSCredential object.

Type: PSCredential
Parameter Sets: PSCred
Aliases:

Required: False
Position: Named
Default value: $OSSCCred
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

Outsystems.SetupTools.InstallResult

NOTES

The parameters ServiceCenterUser and ServiceCenterPass will be removed in a future module version. Publish-OSPlatformLifetime -Force -ServiceCenterUser "admin" -ServiceCenterPass "admin"

The recommended way to pass credentials in PowerShell is to use the PSCredential object.

RELATED LINKS