CmdID / PowerShell / Cmdlets / New
New-MgDeviceManagementAuditEvent
Create new navigation property to auditEvents for deviceManagement Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 24 parameters Its page in the reference
Parameters
Show its 24 parameters
-ActivityFriendly name of the activity.-ActivityDateTimeThe date time in UTC when the activity was performed.-ActivityOperationTypeThe HTTP operation type of the activity.-ActivityResultThe result of the activity.-ActivityTypeThe type of activity that was being performed.-ActorA class containing the properties for Audit Actor.-AdditionalPropertiesAdditional Parameters-BodyParameterA class containing the properties for Audit Event.-BreakWait for .NET debugger to attach-CategoryAudit category.-ComponentNameComponent name.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CorrelationIdThe client request Id that is used to correlate activity within the system.-DisplayNameEvent display name.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResourcesResources being modified.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.