Switch-PSGSuiteConfig
SYNOPSIS
Switches the active config
SYNTAX
ConfigName (Default)
Switch-PSGSuiteConfig [-SetToDefault] -ConfigName <String> [<CommonParameters>]
Domain
Switch-PSGSuiteConfig -Domain <String> [-SetToDefault] [<CommonParameters>]
DESCRIPTION
Switches the active config
EXAMPLES
EXAMPLE 1
Switch-PSGSuiteConfig newCustomer
Switches the config to the "newCustomer" config
PARAMETERS
-Domain
The domain name for the config you would like to set as active for the session
Type: System.String
Parameter Sets: Domain
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SetToDefault
If passed, also sets the specified config as the default so it's loaded on the next module import
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ConfigName
{{ Fill ConfigName Description }}
Type: System.String
Parameter Sets: ConfigName
Aliases:
Required: True
Position: Named
Default value: None
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.