Hello everyone,
I have a question regarding performing some more granular actions to user accounts via PS.
Currently, I have the trusty little command that allows me to disable accounts from a TXT file
This works fine, but what if I want to go a little further, for example, removing their licenses, or signing them out of all their sessions
How would I get that done? I would think that it will be a much more complicated line than what I posted above?
The command runs successfully it blocks the accounts in the TXT file but it doesn’t seem to be removing the license for the users in that text file. I waited about 15 minutes but it doesn’t do much of anything.