Set-AzureRmDiagnosticSetting

Active Directory Auditing Tool

The Who, Where and When information is very important for an administrator to have complete knowledge of all activities that occur on their Active Directory. This helps them identify any desired / undesired activity happening. ADAudit Plus assists an administrator with this information in the form of reports. In real-time, ensure critical resources in the network like the Domain Controllers are audited, monitored and reported with the entire information on AD objects - Users, Groups, GPO, Computer, OU, DNS, AD Schema and Configuration changes with 200+ detailed event specific GUI reports and email alerts.

Account Management » Set-AzureRmDiagnosticSetting

Set-AzureRmDiagnosticSetting

Syntax

Set-AzureRmDiagnosticSetting

-ResourceId  <String>]

[-StorageAccountId <String>

[-ServiceBusRuleId<String>

[-EventHubAuthorizationRuleId<String>

[-Enabled<String>

[-Categories 

<System.Collections.Generic.List`1[System.String]>]

[-Timegrains 

<System.Collections.Generic.List`1[System.String]>]

[-RetentionEnabled<Boolean>]

[-WorkspaceId<String>]

[-RetentionInDays<Int32>]

[-DefaultProfile<IAzureContextContainer>]

[<CommonParameters>]

Description

The Set-AzureRmDiagnosticSetting cmdlet enables or disables each time grain and log category for a particular resource.The logs and metrics are stored in the specified storage account.

Required parameters

--ResourceId

Description Specifies the ID of the resource.
Type String
Position Named
Default value None
Accept pipeline input True  (ByPropertyName)
Accept Wildcard characters False

Output

Microsoft.Azure.Commands.Insights.OutputClasses.PSServiceDiagnosticSettings