Get D365InstanceName - FH-Inway/d365fo.tools GitHub Wiki
Gets the instance name
Get-D365InstanceName [<CommonParameters>]
Get the instance name that is registered in the environment
Get-D365InstanceName
This will get the service name that the environment has configured
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: Instance, Servicing
Author: Rasmus Andersen (@ITRasmus)
The cmdlet wraps the call against a dll file that is shipped with Dynamics 365 for Finance & Operations. The call to the dll file gets HostedServiceName that is registered in the environment.