| external help file | OutSystems.SetupTools-help.xml |
|---|---|
| Module Name | OutSystems.SetupTools |
| online version | |
| schema | 2.0.0 |
Generates an empty OutSystems configuration file
New-OSServerConfig [-DatabaseProvider] <String> [[-PrivateKey] <String>] [-Force] [<CommonParameters>]
This will generate an empty OutSystems configuration file. You can specify the envrionment private key using the -PrivateKey parameter The cmdlet will not overwrite an existing configuration and/or private key. If you wish to overwrite you need to specify the -Force switch
New-OSServerConfig -DatabaseProvider 'SQL'
New-OSServerConfig -DatabaseProvider 'Oracle' -PrivateKey '42bGTaGWPkWmbmGLDbkQwA==' -Force
New-OSPlatformPrivateKey | New-OSServerConfig -DatabaseProvider 'Oracle' -Force
Configuration will be generated for this database provider. Available database provider are 'SQL' and 'Oracle'
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUsed to specify the environment private key. If you dont specified this, a random one will be generated
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseAllows cmdlet to override an existing configuration
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.
Use the Force switch with caution. Overwritting an existing configuration may cause your environment to become inaccessible