Start D365Environment - FH-Inway/d365fo.tools GitHub Wiki
Cmdlet to start the different services in a Dynamics 365 Finance & Operations environment
Start-D365Environment [[-ComputerName] <String[]>] [-All] [-OnlyStartTypeAutomatic] [-ShowOriginalProgress]
[<CommonParameters>]
Start-D365Environment [[-ComputerName] <String[]>] [-Aos] [-Batch] [-FinancialReporter] [-DMF]
[-OnlyStartTypeAutomatic] [-ShowOriginalProgress] [<CommonParameters>]
Can start all relevant services that is running in a D365FO environment
Start-D365Environment
This will run the cmdlet with the default parameters. Default is "-All". This will start all D365FO services on the machine.
Start-D365Environment -OnlyStartTypeAutomatic
This will start all D365FO services on the machine that are configured for Automatic startup. It will exclude all services that are either manual or disabled in their startup configuration.
Start-D365Environment -ShowOriginalProgress
This will run the cmdlet with the default parameters. Default is "-All". This will start all D365FO services on the machine. The progress of starting the different services will be written to the console / host.
Start-D365Environment -All
This will start all D365FO services on the machine.
Start-D365Environment -Aos -Batch
This will start the Aos & Batch D365FO services on the machine.
Start-D365Environment -FinancialReporter -DMF
This will start the FinancialReporter and DMF services on the machine.
An array of computers that you want to start services 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 start all relevant services
Includes: Aos Batch Financial Reporter
Type: SwitchParameter
Parameter Sets: Default
Aliases:
Required: False
Position: 3
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
Start the Aos (iis) service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: 3
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Start the batch service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Start the financial reporter (Management Reporter 2012) service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: 5
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Start the Data Management Framework service
Type: SwitchParameter
Parameter Sets: Specific
Aliases:
Required: False
Position: 6
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 show the standard output in the console
Default is $false which will silence the standard 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.
Author: Mötz Jensen (@Splaxi)