Invoke D365SysRunnerClass - FH-Inway/d365fo.tools GitHub Wiki
Start a browser session that executes SysRunnerClass
Invoke-D365SysRunnerClass [-ClassName] <String> [[-Company] <String>] [[-Url] <String>] [<CommonParameters>]
Makes it possible to call any runnable class directly from the browser, without worrying about the details
Invoke-D365SysRunnerClass -ClassName SysFlushAOD
Will execute the SysRunnerClass and have it execute the SysFlushAOD class and will run it against the "DAT" (default value) company
Invoke-D365SysRunnerClass -ClassName SysFlushAOD -Company "USMF"
Will execute the SysRunnerClass and have it execute the SysFlushAOD class and will run it against the "USMF" company
Invoke-D365SysRunnerClass -ClassName SysFlushAOD -Url https://Test.cloud.onebox.dynamics.com
Will execute the SysRunnerClass and have it execute the SysFlushAOD class and will run it against the "DAT" company, on the https://Test.cloud.onebox.dynamics.com URL
The name of the class you want to execute
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The company for which you want to execute the class against
Default value is: "DAT"
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: $Script:Company
Accept pipeline input: False
Accept wildcard characters: False
The URL you want to execute against
Default value is the Fully Qualified Domain Name registered on the machine
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: $Script:Url
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)