-
-
Save adamgell/8616611c7e507144fcf869f6b81030d7 to your computer and use it in GitHub Desktop.
UDADMIN CTX Licensing Clear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove all users: | |
for /f "tokens=1,2" %i in ('udadmin -list ^| find /i "_ud"') do @udadmin -f %j -user %i -delete | |
Remove all devices: | |
for /f "tokens=1,2" %i in ('udadmin -list ^| find /i "_ud"') do @udadmin -f %j -device %i -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment