microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
670 stars 222 forks source link

Commented out code? #21

Closed BigIve closed 3 years ago

BigIve commented 3 years ago

Hi, I've been testing this script and noticed that Line 78 (in the downgrade end-user script) appears to have been commented out. Is this 'by design' (a safety feature maybe?). As once I uncommented this line the script ran successfully on my test macOS device and downgraded the end-user to a standard one during an ADE (via Intune). Many thanks for making the script available, it has helped resolve an issue for a customer of mine.

theneiljohnson commented 3 years ago

This is by design so avoid accidental damage to your environment.