< Back

Invoke-DeviceManagement_ManagedDevices_CleanWindowsDevice

Sat Jan 18, 2020 12:05 pm

NAME Invoke-DeviceManagement_ManagedDevices_CleanWindowsDevice



SYNOPSIS





SYNTAX

Invoke-DeviceManagement_ManagedDevices_CleanWindowsDevice -managedDeviceId <string> [-keepUserData <bool>]

[<CommonParameters>]





DESCRIPTION

The action "microsoft.graph.cleanWindowsDevice", which exists on the type "microsoft.graph.managedDevice".



This action does not return any objects.



Graph Call: POST ~/deviceManagement/managedDevices/cleanWindowsDevice





PARAMETERS

-keepUserData <bool>

The "keepUserData" action parameter of type "Edm.Boolean".



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-managedDeviceId <string>

The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

System.Boolean

The "keepUserData" action parameter of type "Edm.Boolean".



System.String

The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK