Retrieve information with Business Central Administration Shell
Views (643)
The following cmdlets are at your disposal to retrieve information from the Business Central server configuration:
Module: Microsoft.Dynamics.Nav.Management
- Get-NAVWebServerInstance: shows info about installed webclients
- Get-NAVWebServerInstanceConfiguration: shows key values from navsettings.json
- Get-NAVAddIn: shows registered addins in BC
- Get-NAVApplication: shows the databaseserver, database name, applicationversion, applicationfamily
- Get-NAVCompany: retrieves all NAV companies
- Get-NAVDataFile: extract information from a Business Central data file
- Get-NAVDataUpgrade: shows information about the dataupgrade, like functioncount, executionmode, progress, erros, details, state etc
- Get-NAVServerAppConfiguration: returns the settings in an application-specific configuration file of a Business Central Server instance
- Get-NAVServerConfiguration: shows configuration information about the server instance configuration
- Get-NAVServerInstance: shows a list of all serverinstances, state, serviceaccount, version
- Get-NAVServerPermission: gets the list of permissions
- Get-NAVServerPermissionSet: gets the list of permission sets
- Get-NAVServerSession: shows information about sessions (like users) connected to a certain server instance
- Get-NAVServerUser: gets a list of users and related info like SID, State etc.
- Get-NAVServerUserPermissionSet: returns permission set information for users
- Get-NAVTableConnection: gets a list of connections to external database tables
- Get-NAVTenant: shows information about the tenant
- Get-NAVTenantDatabase: gets information about one or more tenant databases when using multi-tenancy
- Get-NAVWebService: shows information about published webservices (for example objectid, objecttype, servicename, published)
Module: Microsoft.Dynamics.Nav.Apps.Management
- Get-NAVAppInfo
- Get-NavAppRuntimePackage
- Get-NAVAppTableModification
- Get-NAVAppTenant
These cmdlets are only available if you start the Administration Shell:
If you don’t (want to) use the Administration Shell and are using VS Code or PowerShell ISE for example please import the modules by running this PowerShell Cmdlet:
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\130\Service\NavAdminTool.ps1'
This was originally posted here.

Like
Report
*This post is locked for comments