< Back

New-DirectoryAuditObject

Sat Jan 18, 2020 12:26 pm

NAME New-DirectoryAuditObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.directoryAudit" (or one of its derived types).





SYNTAX

New-DirectoryAuditObject [-activityDateTime <DateTimeOffset>] [-activityDisplayName <string>] [-additionalDetails

<object[]>] [-category <string>] [-correlationId <string>] [-initiatedBy <object>] [-loggedByService <string>]

[-operationType <string>] [-result <string>] [-resultReason <string>] [-targetResources <object[]>]

[<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.directoryAudit" (or one of its derived types).





PARAMETERS

-category <string>

The "category" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-correlationId <string>

The "correlationId" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-result <string>

The "result" property, of type "microsoft.graph.operationResult".



This property is on the "microsoft.graph.directoryAudit" type.



Valid values: 'success', 'failure', 'timeout', 'unknownFutureValue'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-resultReason <string>

The "resultReason" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-activityDisplayName <string>

The "activityDisplayName" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-activityDateTime <DateTimeOffset>

The "activityDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-loggedByService <string>

The "loggedByService" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-operationType <string>

The "operationType" property, of type "Edm.String".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-initiatedBy <object>

The "initiatedBy" property, of type "microsoft.graph.auditActivityInitiator".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetResources <object[]>

The "targetResources" property, of type "microsoft.graph.targetResource".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-additionalDetails <object[]>

The "additionalDetails" property, of type "microsoft.graph.keyValue".



This property is on the "microsoft.graph.directoryAudit" type.



Required? false

Position? named

Default value

Accept pipeline input? false

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



OUTPUTS





RELATED LINKS