Prompts you for confirmation before running the cmdlet.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Aliases:
cf
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-DeviceAssignmentItems
To construct, see NOTES section for DEVICEASSIGNMENTITEMS properties and create a hash table.
Parameter properties
Type:
IMicrosoftGraphDeviceAssignmentItem[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
ChangeExpanded
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
ChangeViaIdentityExpanded
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Headers
Optional headers that will be added to the request.
Parameter properties
Type:
IDictionary
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Parameter properties
Type:
IDeviceManagementIdentity
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
ChangeViaIdentityExpanded
Position:
Named
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
ChangeViaIdentity
Position:
Named
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ManagedDeviceId
The unique identifier of managedDevice
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
ChangeExpanded
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
Change
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-PassThru
Returns true when the command succeeds
Parameter properties
Type:
SwitchParameter
Default value:
False
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ResponseHeadersVariable
Optional Response Headers Variable.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Aliases:
RHV
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Aliases:
wi
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
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.
[AssignmentItemActionIntent <DeviceAssignmentItemIntent?>]: A list of possible assignment item action intent values on the application or configuration when executing this action on the managed device.
For example, if the application or configuration is intended to be removed on the managed device, then the intent value is remove, and if the application or configuration already under removal through previous actions and is now intended to be restored on the managed device, then the intent value is restore
[AssignmentItemActionStatus <DeviceAssignmentItemStatus?>]: A list of possible assignment item action status values for the application or configuration regarding their executed action on the managed device.
For example, a configuration included in the deviceAssignmentItems list has just been executed the action.
Its status starts with inProgress until it's successfully removed to reflect as removed status or failed to be removed to reflect as error status on the managed device.
Similar status change happens for restoration process
[ItemId <String>]: The unique identifier for the application or configuration.
ItemId is required property which needs to be set in the action POST request parameter for the DeviceAssignmentItem intended to remove.
Max length is 40
[ItemType <DeviceAssignmentItemType?>]: A list of possible device assignment item types to execute this action on the managed device.
Device assignment item represents existing assigned Intune resource such as application or configuration.
Currently supported device assignment item types are Application, DeviceConfiguration, DeviceManagementConfigurationPolicy and MobileAppConfiguration
[AssignmentItemActionIntent <DeviceAssignmentItemIntent?>]: A list of possible assignment item action intent values on the application or configuration when executing this action on the managed device.
For example, if the application or configuration is intended to be removed on the managed device, then the intent value is remove, and if the application or configuration already under removal through previous actions and is now intended to be restored on the managed device, then the intent value is restore
[AssignmentItemActionStatus <DeviceAssignmentItemStatus?>]: A list of possible assignment item action status values for the application or configuration regarding their executed action on the managed device.
For example, a configuration included in the deviceAssignmentItems list has just been executed the action.
Its status starts with inProgress until it's successfully removed to reflect as removed status or failed to be removed to reflect as error status on the managed device.
Similar status change happens for restoration process
[ItemId <String>]: The unique identifier for the application or configuration.
ItemId is required property which needs to be set in the action POST request parameter for the DeviceAssignmentItem intended to remove.
Max length is 40
[ItemType <DeviceAssignmentItemType?>]: A list of possible device assignment item types to execute this action on the managed device.
Device assignment item represents existing assigned Intune resource such as application or configuration.
Currently supported device assignment item types are Application, DeviceConfiguration, DeviceManagementConfigurationPolicy and MobileAppConfiguration