Coder Social home page Coder Social logo

Comments (6)

FISHMANPET avatar FISHMANPET commented on June 16, 2024

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 REMOTE_POWERWASH or WIPE_USERS respectively.

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.

from psgsuite.

t3chyphil avatar t3chyphil commented on June 16, 2024

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,

from psgsuite.

Foggy2 avatar Foggy2 commented on June 16, 2024

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 customer.devices.chromeos.issueCommand method missing in the .Net Directory SDK?

from psgsuite.

Foggy2 avatar Foggy2 commented on June 16, 2024

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.

from psgsuite.

t3chyphil avatar t3chyphil commented on June 16, 2024

@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! :)

from psgsuite.

Foggy2 avatar Foggy2 commented on June 16, 2024

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.

from psgsuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.