Can you run a command from a laptop that tells MEM to wipe it? Hash n Wipe script?

Batman, John 1 Reputation point
2020-10-09T20:02:16.45+00:00

We run a bat file to hash pcs. Easy.
Can you run a command from a laptop that tells MEM to wipe it?
Hash n Wipe script for easily prepping large amount of existing pcs.

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
405 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sandy Zeng 6 Reputation points MVP
    2020-10-24T18:25:57.52+00:00

    Does this help? https://learn.microsoft.com/en-us/windows/win32/dmwmibridgeprov/mdm-remotewipe
    If the device is managed by Intune or Co-managed, it would be easier to trigger wipe from Microsoft Endpoint manager admin center

    Regards,
    Sandy

    0 comments No comments

  2. Oliver Kieselbach 241 Reputation points MVP
    2020-11-02T10:08:04.323+00:00

    I made a script for that a while ago. You can find the implementation of the Remote Wipe as PowerShell script (like Sandy mentioned it previously) here:

    https://github.com/okieselbach/Intune/blob/master/Sart-RemoteWipe.ps1

    best,


    Oliver Kieselbach | Twitter | Blog
    Mark useful answers by clicking "Accept Answer", many thanks!

    0 comments No comments