UseSandbox Parameter (Connect-QBOnline Cmdlet)
Specifies whether the provider connects to the QuickBooks Online sandbox environment.
Syntax
Connect-QBOnline -UseSandbox SwitchParameter
Data Type
bool
Default Value
false
Remarks
Set this property to switch between the production and sandbox environments in QuickBooks Online.
- When this property is set to false, the cmdlet connects to the production environment.
- When this property is set to true, the cmdlet connects to the sandbox environment for testing and development.
This property is useful for safely testing connections, authentication, and API operations without affecting live company data.
This is a required parameter.