I want to write a PS script to do a number of things. First I want it to prompt for multiple users (right now just 2), enable the accounts of selected users, set account expiration date/time, and then display accounts with their associated expiration
setting.
The problem is that it is showing everything in my script on the screen. I only want to see the prompt for the user accounts and the result of setting an expiration date/time of the account.
Thoughts?