-
Notifications
You must be signed in to change notification settings - Fork 0
Get D365Environment
Cmdlet to get the current status for the different services in a Dynamics 365 Finance & Operations environment
Get-D365Environment [[-ComputerName] <String[]>] [-All] [-OnlyStartTypeAutomatic] [-OutputServiceDetailsOnly]
[<CommonParameters>]
Get-D365Environment [[-ComputerName] <String[]>] [-Aos] [-Batch] [-FinancialReporter] [-DMF]
[-OnlyStartTypeAutomatic] [-OutputServiceDetailsOnly] [<CommonParameters>]
List status for all relevant services that is running in a D365FO environment
Get-D365Environment
Will query all D365FO service on the machine.
Get-D365Environment -All
Will query all D365FO service on the machine.
Get-D365Environment -OnlyStartTypeAutomatic
Will query all D365FO service on the machine. It will filter out all services that are either configured as manual or disabled.
Get-D365Environment -ComputerName "TEST-SB-AOS1","TEST-SB-AOS2","TEST-SB-BI1" -All
Will query all D365FO service on the different machines.
Get-D365Environment -Aos -Batch
Will query the Aos & Batch services on the machine.
Get-D365Environment -FinancialReporter -DMF
Will query the FinancialReporter & DMF services on the machine.
Get-D365Environment -OutputServiceDetailsOnly
Will query all D365FO service on the machine. Will omit the servername from the output.
Get-D365Environment -FinancialReporter | Set-Service -StartupType Manual
This will configure the Financial Reporter services to be start type manual.
An array of computers that you want to query for the services status on.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: @($env:computername)
Accept pipeline input: False
Accept wildcard characters: False
Set when you want to query all relevant services
Includes: Aos Batch Financial Reporter DMF
Type: SwitchParameter
Parameter Sets: Default
Aliases:
Required: False
Position: Named
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet to query the AOS (IIS) service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet query the batch service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet query the financial reporter (Management Reporter 2012)
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet query the DMF service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet to filter out services that are set to manual start or disabled
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Instruct the cmdlet to exclude the server name from the output
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
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: Environment, Service, Services, Aos, Batch, Servicing
Author: Mötz Jensen (@Splaxi)
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services