< Back

New-DomainAuditRuleSet

Fri Jan 10, 2020 6:53 pm

NAME New-DomainAuditRuleSet



SYNOPSIS

Creates the audit rule set for domain object auditing.





SYNTAX

New-DomainAuditRuleSet [-DomainSID] <SecurityIdentifier> [<CommonParameters>]





DESCRIPTION

The New-DomainAuditRuleSet cmdlet creates the audit rule set for the domain object.





PARAMETERS

-DomainSID <SecurityIdentifier>

The domain SID object for the domain to associate teh rule set with.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Security.Principal.SecurityIdentifier





OUTPUTS

System.DirectoryServices.ActiveDirectoryAuditRule[]





NOTES





AUTHOR: Michael Haken

LASTEDIT: 2/27/2016



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>New-DomainAuditRuleSet



Creates the audit rules.











RELATED LINKS