< Back

Invoke-DeviceManagement_ManagedDevices_Wipe

Sat Jan 18, 2020 12:06 pm

NAME Invoke-DeviceManagement_ManagedDevices_Wipe



SYNOPSIS





SYNTAX

Invoke-DeviceManagement_ManagedDevices_Wipe -managedDeviceId <string> [-keepEnrollmentData <bool>] [-keepUserData

<bool>] [-macOsUnlockCode <string>] [<CommonParameters>]





DESCRIPTION

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



This action does not return any objects.



Graph Call: POST ~/deviceManagement/managedDevices/wipe





PARAMETERS

-keepEnrollmentData <bool>

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



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-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



-macOsUnlockCode <string>

The "macOsUnlockCode" action parameter of type "Edm.String".



Required? false

Position? named

Default value

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 "keepEnrollmentData" action parameter of type "Edm.Boolean".



System.Boolean

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



System.String

The "macOsUnlockCode" action parameter of type "Edm.String".



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