CompanyFileId Parameter (Connect-MYOB Cmdlet)
The ID of the company file. If not specified, the ID of the first returned company file will be used.
Syntax
Connect-MYOB -CompanyFileId string
Data Type
cstr
Default Value
""
Remarks
This connection property is required to access all tables and views, except for the CompanyFiles view, which you can use to view the company files associated with your account (and their associated IDs).
SELECT Id FROM CompanyFiles