< Back

New-DeviceActionResultObject

Sat Jan 18, 2020 12:13 pm

NAME New-DeviceActionResultObject



SYNOPSIS

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





SYNTAX

New-DeviceActionResultObject -deviceActionResult <SwitchParameter> [-actionName <string>] [-actionState <string>]

[-lastUpdatedDateTime <DateTimeOffset>] [-startDateTime <DateTimeOffset>] [<CommonParameters>]



New-DeviceActionResultObject -resetPasscodeActionResult <SwitchParameter> [-actionName <string>] [-actionState

<string>] [-lastUpdatedDateTime <DateTimeOffset>] [-passcode <string>] [-startDateTime <DateTimeOffset>]

[<CommonParameters>]



New-DeviceActionResultObject -remoteLockActionResult <SwitchParameter> [-actionName <string>] [-actionState

<string>] [-lastUpdatedDateTime <DateTimeOffset>] [-startDateTime <DateTimeOffset>] [-unlockPin <string>]

[<CommonParameters>]



New-DeviceActionResultObject -locateDeviceActionResult <SwitchParameter> [-actionName <string>] [-actionState

<string>] [-deviceLocation <object>] [-lastUpdatedDateTime <DateTimeOffset>] [-startDateTime <DateTimeOffset>]

[<CommonParameters>]



New-DeviceActionResultObject -deleteUserFromSharedAppleDeviceActionResult <SwitchParameter> [-actionName <string>]

[-actionState <string>] [-lastUpdatedDateTime <DateTimeOffset>] [-startDateTime <DateTimeOffset>]

[-userPrincipalName <string>] [<CommonParameters>]



New-DeviceActionResultObject -windowsDefenderScanActionResult <SwitchParameter> [-actionName <string>]

[-actionState <string>] [-lastUpdatedDateTime <DateTimeOffset>] [-scanType <string>] [-startDateTime

<DateTimeOffset>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-deviceActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.deviceActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-actionName <string>

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



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



Action name



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-actionState <string>

The "actionState" property, of type "microsoft.graph.actionState".



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



State of the action



Valid values: 'none', 'pending', 'canceled', 'active', 'done', 'failed', 'notSupported'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-startDateTime <DateTimeOffset>

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



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



Time the action was initiated



Required? false

Position? named

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

Accept pipeline input? false

Accept wildcard characters? false



-lastUpdatedDateTime <DateTimeOffset>

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



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



Time the action state was last updated



Required? false

Position? named

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

Accept pipeline input? false

Accept wildcard characters? false



-resetPasscodeActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.resetPasscodeActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-passcode <string>

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



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



Newly generated passcode for the device



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-remoteLockActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.remoteLockActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-unlockPin <string>

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



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



Pin to unlock the client



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-locateDeviceActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.locateDeviceActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-deviceLocation <object>

The "deviceLocation" property, of type "microsoft.graph.deviceGeoLocation".



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



device location



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deleteUserFromSharedAppleDeviceActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.deleteUserFromSharedAppleDeviceActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-userPrincipalName <string>

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



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



User principal name of the user to be deleted



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-windowsDefenderScanActionResult <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.windowsDefenderScanActionResult" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-scanType <string>

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



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



Scan type either full scan or quick scan



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