Invoke-MgBetaCleanDeviceManagementComanagedDeviceWindowsDevice
Clean Windows device
Syntax
Invoke-MgBetaCleanDeviceManagementComanagedDeviceWindowsDevice
-ManagedDeviceId <String>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-KeepUserData]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-MgBetaCleanDeviceManagementComanagedDeviceWindowsDevice
-ManagedDeviceId <String>
-BodyParameter <IPathsI15RiiDevicemanagementComanageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-MgBetaCleanDeviceManagementComanagedDeviceWindowsDevice
-InputObject <IDeviceManagementActionsIdentity>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-KeepUserData]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Invoke-MgBetaCleanDeviceManagementComanagedDeviceWindowsDevice
-InputObject <IDeviceManagementActionsIdentity>
-BodyParameter <IPathsI15RiiDevicemanagementComanageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Clean Windows device
Parameters
-AdditionalProperties
Additional Parameters
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BodyParameter
. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: | IPathsI15RiiDevicemanagementComanageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
-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 |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IDeviceManagementActionsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-KeepUserData
.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagedDeviceId
The unique identifier of managedDevice
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Returns true when the command succeeds
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
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 |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
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.IDeviceManagementActionsIdentity
Microsoft.Graph.Beta.PowerShell.Models.IPathsI15RiiDevicemanagementComanageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema
System.Collections.IDictionary
Outputs
System.Boolean
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 <IPathsI15RiiDevicemanagementComanageddevicesManageddeviceIdMicrosoftGraphCleanwindowsdevicePostRequestbodyContentApplicationJsonSchema>
: .
[(Any) <Object>]
: This indicates any property can be added to this object.[KeepUserData <Boolean?>]
:
INPUTOBJECT <IDeviceManagementActionsIdentity>
: Identity Parameter
[AlertRecordId <String>]
: The unique identifier of alertRecord[AndroidDeviceOwnerEnrollmentProfileId <String>]
: The unique identifier of androidDeviceOwnerEnrollmentProfile[AndroidForWorkEnrollmentProfileId <String>]
: The unique identifier of androidForWorkEnrollmentProfile[AppLogCollectionRequestId <String>]
: The unique identifier of appLogCollectionRequest[AppleUserInitiatedEnrollmentProfileId <String>]
: The unique identifier of appleUserInitiatedEnrollmentProfile[CertificateConnectorDetailsId <String>]
: The unique identifier of certificateConnectorDetails[CloudPcDeviceImageId <String>]
: The unique identifier of cloudPcDeviceImage[CloudPcId <String>]
: The unique identifier of cloudPC[CloudPcOnPremisesConnectionId <String>]
: The unique identifier of cloudPcOnPremisesConnection[CloudPcProvisioningPolicyId <String>]
: The unique identifier of cloudPcProvisioningPolicy[CloudPcUserSettingId <String>]
: The unique identifier of cloudPcUserSetting[DataSharingConsentId <String>]
: The unique identifier of dataSharingConsent[DepOnboardingSettingId <String>]
: The unique identifier of depOnboardingSetting[DeviceCompliancePolicyId <String>]
: The unique identifier of deviceCompliancePolicy[DeviceComplianceScriptId <String>]
: The unique identifier of deviceComplianceScript[DeviceConfigurationId <String>]
: The unique identifier of deviceConfiguration[DeviceCustomAttributeShellScriptId <String>]
: The unique identifier of deviceCustomAttributeShellScript[DeviceEnrollmentConfigurationId <String>]
: The unique identifier of deviceEnrollmentConfiguration[DeviceHealthScriptId <String>]
: The unique identifier of deviceHealthScript[DeviceLogCollectionResponseId <String>]
: The unique identifier of deviceLogCollectionResponse[DeviceManagementCompliancePolicyId <String>]
: The unique identifier of deviceManagementCompliancePolicy[DeviceManagementConfigurationPolicyId <String>]
: The unique identifier of deviceManagementConfigurationPolicy[DeviceManagementExchangeConnectorId <String>]
: The unique identifier of deviceManagementExchangeConnector[DeviceManagementIntentId <String>]
: The unique identifier of deviceManagementIntent[DeviceManagementPartnerId <String>]
: The unique identifier of deviceManagementPartner[DeviceManagementResourceAccessProfileBaseId <String>]
: The unique identifier of deviceManagementResourceAccessProfileBase[DeviceManagementReusablePolicySettingId <String>]
: The unique identifier of deviceManagementReusablePolicySetting[DeviceManagementScriptId <String>]
: The unique identifier of deviceManagementScript[DeviceManagementTemplateId <String>]
: The unique identifier of deviceManagementTemplate[DeviceManagementTemplateId1 <String>]
: The unique identifier of deviceManagementTemplate[DeviceShellScriptId <String>]
: The unique identifier of deviceShellScript[EmbeddedSimActivationCodePoolId <String>]
: The unique identifier of embeddedSIMActivationCodePool[EnrollmentProfileId <String>]
: The unique identifier of enrollmentProfile[GroupPolicyConfigurationId <String>]
: The unique identifier of groupPolicyConfiguration[GroupPolicyMigrationReportId <String>]
: The unique identifier of groupPolicyMigrationReport[GroupPolicyUploadedDefinitionFileId <String>]
: The unique identifier of groupPolicyUploadedDefinitionFile[HardwareConfigurationId <String>]
: The unique identifier of hardwareConfiguration[IntuneBrandingProfileId <String>]
: The unique identifier of intuneBrandingProfile[ManagedDeviceId <String>]
: The unique identifier of managedDevice[MicrosoftTunnelServerId <String>]
: The unique identifier of microsoftTunnelServer[MicrosoftTunnelServerLogCollectionResponseId <String>]
: The unique identifier of microsoftTunnelServerLogCollectionResponse[MicrosoftTunnelSiteId <String>]
: The unique identifier of microsoftTunnelSite[MobileAppTroubleshootingEventId <String>]
: The unique identifier of mobileAppTroubleshootingEvent[NotificationMessageTemplateId <String>]
: The unique identifier of notificationMessageTemplate[OperationApprovalRequestId <String>]
: The unique identifier of operationApprovalRequest[PrivilegeManagementElevationRequestId <String>]
: The unique identifier of privilegeManagementElevationRequest[RemoteAssistancePartnerId <String>]
: The unique identifier of remoteAssistancePartner[RoleScopeTagId <String>]
: The unique identifier of roleScopeTag[WindowsAutopilotDeploymentProfileId <String>]
: The unique identifier of windowsAutopilotDeploymentProfile[WindowsAutopilotDeviceIdentityId <String>]
: The unique identifier of windowsAutopilotDeviceIdentity[WindowsDriverUpdateProfileId <String>]
: The unique identifier of windowsDriverUpdateProfile[WindowsFeatureUpdateProfileId <String>]
: The unique identifier of windowsFeatureUpdateProfile[WindowsQualityUpdatePolicyId <String>]
: The unique identifier of windowsQualityUpdatePolicy[WindowsQualityUpdateProfileId <String>]
: The unique identifier of windowsQualityUpdateProfile[ZebraFotaDeploymentId <String>]
: The unique identifier of zebraFotaDeployment