-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update-GSChromeOSDevice - Wipe devices User Profile Only #363
Comments
Looks like this function is using the chromeosdevices.action endpoint, which doesn't include a factory reset. Triggering a factory reset or clearing user profiles would appear to use the customer.devices.chromeos.issueCommand endpoint, specifying Which is to say the module currently doesn't support Factory Reset, much less the newer function of wiping just user data. I don't know enough about managing Chrome devices to say if it makes sense to add that functionality to Update-GSChromeOSDevice, or if there should be a new function created. I don't think any of the existing maintainers will be able to add that functionality, but a pull request is always welcome. |
Thanks for the feedback and investigative work @FISHMANPET. I personally don't know much about the API, but you've given me a starting point. I think I'd have a crack at implementing the wiping of user profiles. Apparently, the google admin console now has the ability to remotely wipe user profiles easily by selecting all the devices and pressing the button to wipe user profiles. When the Chromebook turns on, it'll call in and that action is performed. We had an issue with profiles getting corrupted when students went between different Chrome devices, but that seems to have settled down now. The way we fixed it at the time was to remove the profiles periodically. Thanks for your help, |
I thought that I would have a quick look at this one. I don't seem to be able to find the method in the .net API documentation. Am I missing something or is the |
Think I had an older version previously. Correct docs are here This looks fairly straight forward and in my ability level. I also have a large ChromeOS deployment that I can test with. I'll try and put something together when I can find some time next. |
@Foggy2, Thanks for looking into this, much appreciated. I haven't had time with work to look into this yet. Fingers crossed! I'd be interested to see the code that could potentially make this work. Still learning myself! :) |
Hi @t3chyphil. I unexpectedly ended up having some time yesterday to look at this. If you look at the above linked Pull Request #372 you will find the code that makes this work for me. |
Google has updated their admin console. Wiping a device asks the user if they'd like to wipe just the profiles from the device or factory reset.
We have a requirement to delete just the user profiles from all the devices across our estate.
Is there a flag that supports this action or does that need some integration work?
Thank you and keep up the good work! :)
The text was updated successfully, but these errors were encountered: