due to the fact that auditpol provides the header lines in localized language in line 585 there is an error
So the best way is to have a language neutral script part that is evaluating the advanced auditing.
Error Message - translated into English
"Compare-Object: The
argument cannot be bound to the parameter 'DifferenceObject' because it is NULL."
See pic:

here the auditpol with the german localized headline

English vs German Auditpol

due to the fact that auditpol provides the header lines in localized language in line 585 there is an error
So the best way is to have a language neutral script part that is evaluating the advanced auditing.
Error Message - translated into English



"Compare-Object: The
argument cannot be bound to the parameter 'DifferenceObject' because it is NULL."
See pic:
here the auditpol with the german localized headline
English vs German Auditpol