| external help file | OutSystems.SetupTools-help.xml |
|---|---|
| Module Name | OutSystems.SetupTools |
| online version | |
| schema | 2.0.0 |
Install or update Outsystems System Components.
Publish-OSPlatformSystemComponents [-Force] [-Credential <PSCredential>] [<CommonParameters>]
Publish-OSPlatformSystemComponents [-Force] [-ServiceCenterUser <String>] [-ServiceCenterPass <String>]
[<CommonParameters>]
This will install or update the System Components. 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 function.
Using PSCredentials
$cred = Get-Credential Publish-OSPlatformSystemComponents -Credential $cred
$cred = New-Object System.Management.Automation.PSCredential ("admin", $(ConvertTo-SecureString "admin" -AsPlainText -Force))
Publish-OSPlatformSystemComponents -Credential $cred
Publish-OSPlatformSystemComponents -Force -ServiceCenterUser "admin" -ServiceCenterPass "admin"
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: FalseService Center username.
Type: String
Parameter Sets: UserAndPass
Aliases:
Required: False
Position: Named
Default value: $OSSCUser
Accept pipeline input: False
Accept wildcard characters: FalseService Center password.
Type: String
Parameter Sets: UserAndPass
Aliases:
Required: False
Position: Named
Default value: $OSSCPass
Accept pipeline input: False
Accept wildcard characters: FalsePSCredential object.
Type: PSCredential
Parameter Sets: PSCred
Aliases:
Required: False
Position: Named
Default value: $OSSCCred
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The parameters ServiceCenterUser and ServiceCenterPass will be removed in the next major version. Publish-OSPlatformSystemComponents -Force -ServiceCenterUser "admin" -ServiceCenterPass "admin"
The recommended way to pass credentials in PowerShell is to use the PSCredential object.