Usage : Run the script in a session with AD privileges. Use -WhatIf:$false to perform the export.