Something like this? get-qadUser -searchRoot "OU=GMailUsers,dc=widgets,dc=com"|move-qadobject -NewParentContainer "OU=TempOU,dc=widgets,dc=com"
From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Dave Hardyman Sent: Friday, September 12, 2014 9:51 AM To: ntsysadm@lists.myitforum.com Subject: [NTSysADM] need a Powershell script to resolve a campus student email problem We had several thousand Google Apps student email accounts become suspended yesterday. Google tech support will not unsuspend the accounts. They want me to manually unsuspend the accounts, one at a time, through the account GUI. That will take me all weekend. I need emergency assistance from anyone who can provide a PowerShell script that will read a csv file and remove those users from an OU and another script that will add the users in the csv file back into the OU. That will trigger the account reactivation process though our NetIQ appliance. Dave Hardyman Network Specialist Southwest Tech 608.822.2327 ----------------------------------------- This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.