• [Script Of Oct. 07] Get the information of used/free space of all SQL Server databases

    Oct.
    07
    image
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/Get-the-information-of-9fcf67d7.  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 T-SQL script will demo how to get the information of used/free space of all SQL Server databases in an instance.

    As some people asked how to get the used or free space of all database in a SQL Server, this script will demo how to get the following information:

    • total size of data file(s)
    • total size of log file(s)
    • used space size of data file(s) +log file(s)
    • free space size of data file(s) + log file(s)
    • size of every data file and log file

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

  • [Script Of Oct. 04] Export a list of users with full access to a shared mailbox in EXO

    Oct.
    04
    image
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/Export-a-list-of-users-b0b69c25.  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 export shared mailbox full access list in Exchange Online.

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

  • [Script Of Oct. 17] How to extend the task sequence error timeout duration in ConfigMgr 2012 SP1

    Oct.
    17
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-extend-the-task-c23e0fe5.  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 scripts shows how to extend the task sequence error time-out duration in System Center 2012 Configuration Manager SP1.

    When you are creating new task sequences, it's not a big surprise that task sequence steps will cause exceptions. Since the whole deployment will last a very long time, you can easily miss the final summary report. By default, you have 15 minutes before the reference computer restarts. So you want to use a script to increase the time-out value by assigning a higher value for the SMSTSErrorDialogTimeout variable.

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

  • [Script Of Oct. 05] How to keep an unlicensed account’s mailbox address or contents in EXO

    Oct.
    05
    image
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/How-to-keep-an-unlicensed-4e115709.  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 administrators to keep an unlicensed account's mailbox address or contents.

    When an account won't be used anymore, the license would be removed for this account. But the mailbox's address or contents should be kept for further reference.

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

  • [Script Of Oct. 10] Save email messages in the default drafts folder of a shared mailbox in EXO

    Oct.
    10
    image
    image

    Script Download:  
    The script is available for download from http://gallery.technet.microsoft.com/Save-email-messages-in-the-e91ac979.  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 demonstrates how to save email messages in the default Drafts folder of a shared mailbox in Office 365 Exchange Online.

    Currently, Microsoft Office 365 Exchange Online allows you to create a shared mailbox. A shared mailbox allows a group of users to view and send e-mail from a common mailbox. But the email messages sent by these users on behalf of the shared mailbox actually appear in their Sent Items folder by default. You may want to use a script to save email messages in the default Draft folder of shared mailbox. Then you can send these email messages later and these email messages can be viewed by these uses.

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