• [Script of May 9] Modify Mailbox Folder Permission in Microsoft Exchange 2010 (PowerShell)

    Script Download:  
    The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

    This script could be used to modify mailbox folder permission in Microsoft Exchange 2010. You can use this script to export mailbox folder permission of specified mailboxes. You can use this script to set the mailbox folder permission also.

    In a real world, IT administrators may need to know users’ mailbox folder permissions from time to time. This is because mailbox folder permissions may be misconfigured by users. With help of this script, IT administrators could review the permissions in a single untied view. If IT administrators find the permission of some mailboxes are not correct, they can also try to fix the permission for these mailboxes based on this file.

    image image
     image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of May 8] Modify Distribution Group Members in Microsoft Exchange 2010 (PowerShell)

    Script Download:  
    The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

    This script could be used to modify distribution group members in Microsoft Exchange 2010. You need use a comma-separated values (CSV) file as input.

    In a real world, IT administrators always need to modify distribution group members due to variety of reasons, like acquisitions, break apart and department reorg. It will be a time-consuming job if IT administrators need to modify the distribution groups one by one.

    image image
     image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of May 7] Collect Event Logs from Microsoft Exchange 2010 Servers (PowerShell)

    Script Download:  
    The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

    This script could be used to collect warning and error events which generated by Microsoft Exchange Server 2010. You can collect these events by Exchange server role.

    In a real world, IT Administrators need to collect warning and error events for troubleshooting and monitoring the health of Microsoft Exchange 2010. It will be a time-consuming task in a large scale deployment.

    image image
     image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of May 6] Find user logon duration (VBScript)

    Script Download:  
    The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

    This script could be used to collect user logon duration from multiple computers. You can also use the data to generate a report. The user logon duration calculation is based on the general algorithm, Logon duration = Logoff date time - Logon date time.

    In a real world, IT Administrators may need to collect user logon duration from multiple computers. User logon duration data can be useful when IT Administrators are troubleshooting some issues.

    image image
     image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of May 5] Prepopulate a batch of user passwords to RODC (VBScript)

    Script Download:  
    The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.

    This script will prepopulate a batch of user passwords to a specified Read-only Domain Controller. It will leverage the capability of the native command, repadmin. The script will also strictly check the parameters for avoiding any potential human error.

    Currently, IT Professionals can only prepopulate user password for one account each time.  If IT Professionals have to prepopulate 200 or more user passwords within a very short period of time, the job will turn out to be very stressful and tedious.

    image image
     image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery