I am trying to create a script to retreive all of the users in our domain -Less users in remote sales offices OU, and test accounts. I am starting with a simple get-maibox command that gives me all users. Then I am trying to apply a filter
for the "Sales Force" OU (and all sub Sales Force OUs). Then I am trying to add a variable that if the account has not been logged on to in 30 days to exclude it. I haven't had any luck making this work can anyone assist? Thanks in
advance for any help.