• [Script Of July 4] How to easily run an application as administrator without UAC prompts

    image image
    July
    4
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/scriptcenter/How-to-easily-run-an-0c0eb47a/.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    Sometimes, a standard user will be able to use the "runas /savecred" command to run any command as administrator without entering a password. Perhaps user wants to allow a child's standard user account to run a game as Administrator without asking you, etc. This script can easily help you do it.

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

  • [Script Of July 9] How to get index usage information in SQL Server databases

    image image
    July
    9
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/How-to-get-index-usage-0c34ba21.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This PowerShell script will demo how to find all the user_seek, user_scans, user_lookups, user_updates information in the user tables from the last time SQL Server starts.

    Some people ask how to find indexes usage from the last time SQL Server starts. This script will demo how to find all the indexes usage numbers and last time of usage.

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

  • [Script Of July 3] How to enable Office 365 message encryption

    image image
    July
    3
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/How-to-enable-Office-365-c36845c5.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This script is used to help to enable Information Rights-Management service for Exchange Online.

    This script requires Windows Azure AD Rights Management Administration Tool. Please download and install the package from Microsoft Download Center. This script cannot work correctly without this package.

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

  • [Script of July 2] How to configure the size limit for both (.pst) and (.ost) files in Outlook

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/How-to-configure-the-size-8add3751.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This PowerShell script sample shows how to configure the size limit for both (.pst) and (.ost) files in Outlook 2013.

    In Outlook, as the recommended PST file size is less than 2GB, some users want to increase thier Outlook achive files size, but according to the MSKB 832925, the steps seems significantly complicated,  The script can help user configure the size limit for .pst and ost files in Outlook, it could save the tedious process.

    image image
     image

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

  • [Script Of July 14] How to assign License to unlicensed users automatically

    image image
    July
    14
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/How-to-assign-License-to-a920873d.  You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This script will auto assign License to unlicensed users if there's only one type of SKU in an organization. If an organization has multi-type SKUs, an excel sheet will be popped out for edition after you run the script. Then the script will assign license based on the excel file.

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