Invoke D365DataFlush - FH-Inway/d365fo.tools GitHub Wiki
Invoke the one of the data flush classes
Invoke-D365DataFlush [[-Url] <String>] [-Class <String[]>] [<CommonParameters>]
Invoke one of the runnable classes that is clearing cache, data or something else
Invoke-D365DataFlush
This will make a call against the default URL for the machine and have it execute the SysFlushAOD class.
Invoke-D365DataFlush -Class SysFlushData,SysFlushAod
This will make a call against the default URL for the machine and have it execute the SysFlushData and SysFlushAod classes.
URL to the Dynamics 365 instance you want to clear the AOD cache on
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The class that you want to execute.
Default value is "SysFlushAod"
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: SysFlushAod
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: Flush, Url, Servicing
Author: Mötz Jensen (@Splaxi)