New-MgBetaDeviceManagementRemoteActionAudit

Create new navigation property to remoteActionAudits for deviceManagement

Syntax

New-MgBetaDeviceManagementRemoteActionAudit
   [-ResponseHeadersVariable <String>]
   [-Action <RemoteAction>]
   [-ActionState <String>]
   [-AdditionalProperties <Hashtable>]
   [-BulkDeviceActionId <String>]
   [-DeviceActionCategory <DeviceActionCategory>]
   [-DeviceDisplayName <String>]
   [-DeviceImei <String>]
   [-DeviceOwnerUserPrincipalName <String>]
   [-Id <String>]
   [-InitiatedByUserPrincipalName <String>]
   [-ManagedDeviceId <String>]
   [-RequestDateTime <DateTime>]
   [-UserName <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaDeviceManagementRemoteActionAudit
   -BodyParameter <IMicrosoftGraphRemoteActionAudit>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to remoteActionAudits for deviceManagement

Parameters

-Action

Remote actions Intune supports.

Type:RemoteAction
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ActionState

actionState

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

Report of remote actions initiated on the devices belonging to a certain tenant. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphRemoteActionAudit
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-BulkDeviceActionId

BulkAction ID

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeviceActionCategory

Enum type used for DeviceActionCategory

Type:DeviceActionCategory
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeviceDisplayName

Intune device name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeviceImei

IMEI of the device.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeviceOwnerUserPrincipalName

Upn of the device owner.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InitiatedByUserPrincipalName

User who initiated the device action, format is UPN.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ManagedDeviceId

Action target.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequestDateTime

Time when the action was issued, given in UTC.

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserName

[deprecated] Please use InitiatedByUserPrincipalName instead.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRemoteActionAudit

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphRemoteActionAudit

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphRemoteActionAudit>: Report of remote actions initiated on the devices belonging to a certain tenant.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Action <RemoteAction?>]: Remote actions Intune supports.
  • [ActionState <String>]: actionState
  • [BulkDeviceActionId <String>]: BulkAction ID
  • [DeviceActionCategory <DeviceActionCategory?>]: Enum type used for DeviceActionCategory
  • [DeviceDisplayName <String>]: Intune device name.
  • [DeviceImei <String>]: IMEI of the device.
  • [DeviceOwnerUserPrincipalName <String>]: Upn of the device owner.
  • [InitiatedByUserPrincipalName <String>]: User who initiated the device action, format is UPN.
  • [ManagedDeviceId <String>]: Action target.
  • [RequestDateTime <DateTime?>]: Time when the action was issued, given in UTC.
  • [UserName <String>]: - [deprecated] Please use InitiatedByUserPrincipalName instead.