Suggest a powershell script to reset Windows with "Keep my Files" option using Microsoft Graph API

Siya Kumari 536 Reputation points
2024-11-04T15:19:33.66+00:00

Hello Team,

I want to reset around 5k Windows devices with " Keep my Files" option using powershell script which uses Microsoft Graph API for Authentication as my devices were managed by Intune and Entra ID. I used some of the scripts but that is factory resetting my devices and I don't want to factory reset the devices.

User's image

Looking for Quick response.

Thanks!

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.