Log = %A_Desktop%\%matter%-ExchangePullLog-%A_Now% MRSServer = %mrsserver_selection% collection serverĮxportServer = .ABC.net export server location and will be placed in following path \\.ABC.net\C$\. MsgBox, 48, Warning, You are missing required fields (see date fields) show error message MsgBox, 48, Warning, You are missing required fields show error message GuiControl, 1:,enddate,%mycalendar2% displays selected date in GUI as MM/DD/YYYYĮnddate = %mycalendar2% end date shown in audit log as MM/DD/YYYYĮndDateYYYYMMDD2 = 1, Days adds one day to dateįormatTime, enddate_plus1, %EndDateYYYYMMDD2%, MM/dd/yyyyĮmptyfields := Gui, 3: Add, Button, x 5 hp gCalendar2, GoĮndDateYYYYMMDD = %mycalendar2% YYYYMMDD used for filenameĮndDateYYYYMMDD2 = %mycalendar2% YYYYMMDD used to add daysįormatTime, mycalendar2, %mycalendar2%, MM/dd/yyyy Gui, 2: Add, Button, x 5 hp gCalendar1, GoįormatTime, mycalendar1, %mycalendar1%, MM/dd/yyyy ![]() GuiControl,, Edit5, \\.ABC.net\D$\_COMPANY_TEMP\|| Gui,Add, Button, 圆32 圓29 w170 h60 gGO, Create Batch File Gui,Add, Button, x222 圓69 w60 h20 gSelect_End_Date vselectendbutton, Select Gui,Add, Text, x292 圓39 w90 h20 venddate, % enddate Gui,Add, Text, x82 圓39 w90 h20 vstartdate, % startdate Gui,Add, Button, x12 圓69 w60 h20 gSelect_Begin_Date vselectstartbutton, Select Gui,Add, CheckBox, x12 y299 w130 h30 gChkChange vCB1, Enable Date Range Gui,Add, ComboBox, x152 y219 w630 h10 vExportdir, Gui,Add, Edit, x442 y82 w350 h120 valias_list, Doe_John*jdoe Gui,Add, Text, x442 y42 w350 h30, Add Custodians and Alias Names (Note: ONE custodian per line)`nFormat: CustLast_CustFirst*alias Gui,Add, ComboBox, x152 y179 w250 h300 vmrsserver_selection, Gui,Add, Text, x12 y179 w130 h30, Select MRSServer*: Gui,Add, DropDownList, x152 y142 w150 h90 vdomain gMRSChange, ABC_DOMAIN|XYZ_DOMAIN Gui,Add, Edit, x152 y52 w200 h20 vTechnician, Gui,Add, Text, x12 y52 w130 h30, Technician_Last_Name*: Gui,Add, Edit, x152 y12 w100 h20 vmatter, XXXX Gui,Add, Text, x592 y-1 w140 h20 Center, EXCHANGE PULLER MsgBox, 262208, %AppTitle%, This app is used to auto-generate a batch file that can be run to pull select mailboxes from Exchange.`n`nYou should run the Exchange Mailbox Checker app first to ensure the mailboxes exist. SetBatchLines -1 Runs the script at maximum speed SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory.ĪppTitle = Exchange Mailbox Puller - v2.6 ![]() ![]() ![]() SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. Code: Select all #NoEnv Recommended for performance and compatibility with future AutoHotkey releases.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |