UseSandbox Parameter (Connect-Salesforce Cmdlet)
A boolean determining if the connection should be made to a Salesforce sandbox account.
Syntax
Connect-Salesforce -UseSandbox SwitchParameter
Data Type
bool
Default Value
false
Remarks
To connect to a Salesforce sandbox account, set UseSandbox = true and append the sandbox name to the end of the user name. For example, if your user name is "user", and sandbox name in Salesforce is "sandbox", the specified User should appear as "user.sandbox".
This is a required parameter.