Individual companies inside the database can also be created, removed, or renamed with PowerShell cmdlets. Now we will run several simple examples illustrating basic operations with companies.
The cmdlets illustrated in this recipe, create a company in the database, create a copy of the company, and rename it.
New-NAVCompany ` -ServerInstance DynamicsNAV90 -CompanyName TestCompany
This cmdlet will create a
TestCompany company in the database
Demo Database NAV (9-0) database that is the source database for the