Test-MtIntuneDiagnosticSettings
SYNOPSISโ
Check the Intune Diagnostic Settings for Audit Logs.
SYNTAXโ
Test-MtIntuneDiagnosticSettings [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTIONโ
Enumerate all diagnostic settings for Intune and check if Audit Logs are being sent to a destination (Log Analytics, Storage Account, Event Hub).
EXAMPLESโ
EXAMPLE 1โ
Test-MtIntuneDiagnosticSettings
Returns true if any Intune diagnostic settings include Audit Logs and are being sent to a destination (Log Analytics, Storage Account, Event Hub).
PARAMETERSโ
-ProgressActionโ
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParametersโ
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTSโ
OUTPUTSโ
System.Booleanโ
NOTESโ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-MtIntuneDiagnosticSettings