Closed altonbrinja closed 3 years ago
The code works just fine here. It looks like you're having problems with Get-User. Make sure that you have the latest EXO management module loaded and try to run the code line by like to check where things are going wrong. Note the input values and see why they might be a problem. This is all basic PowerShell, so you should be able to debug the code easily in a console or ISE.