In some cases we already delete user mailbox and after 5 minute, user need it back. So, our cleanup will run at midnight. How can we perform this?
# Input parameter
# Read input from the CSV file
$users = (Import-Csv $CSVUpath)
# Create the mailbox enabled accounts
foreach ($user in $users)
$all = $user.server + ‘\’ + $user.SG + ‘\’ + $user.DB
Just run your script with file that contains all your database. 🙂 hope this will help you.