CompanyId Parameter (Connect-QBOnline Cmdlet)
The unique identifier of a given company in QuickBooks Online.
Syntax
Connect-QBOnline -CompanyId string
Data Type
cstr
Default Value
""
Remarks
The unique identifier of a given company in QuickBooks Online. This will be determined automatically during authentication and returned from the GetOAuthAccessToken stored procedure. CompanyId is a required value if InitiateOAuth is set to REFRESH or OFF.
You can also obtain the CompanyId by pressing Ctrl+Alt+? from any screen in QuickBooks Online.