• [Script of Jul. 17] Script to disable or re-enable account by date in Active Directory (PowerShell)

    Script Download: SetADAccount(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-disable-or-re-4e7bda2f

    The script documentation describes how disable or re-enable accounts by a specified date.

    This script allows for IT administrators to disable or re-enable accounts at specific time by using Windows PowerShell.

    image image
    image

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

  • [Script of Jul. 16] Script to convert Word document to PDF file (PowerShell)

    Script Download: ConvertWordDocumentToPDF(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-convert-Word-f702844d

    This PowerShell script sample shows how to convert Word document to PDF file.

    Converting Word document to PDF file is a frequently asked question in many public forums.

    image image
    image

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

  • [Script of Jul. 15] Batch convert .txt files to Word documents (PowerShell)

    Script Download: ConvertTXTFileToWordDocument(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Batch-convert-txt-files-to-d7f53cb9

    This Windows PowerShell script sample shows how to batch convert .txt files to Word documents.

    This script shows how to convert many .txt files to Word documents by using Windows PowerShell.

    image image
    image

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

  • [Script of Jul. 12] Script to Outlook in Offline Mode (Non-Exchange account) (VBScript)

    Script Download: OfflineModeinOutlook(VBScript).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-Outlook-in-ca1c6959/

    This VBScript shows how to enable Offline mode in outlook.

    Some of users want to set the Offline mode in Outlook via script due to automation task. This script sample can enable offline mode in outlook.

    image image
    image

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

  • [Script of Jul. 11] Check database indexes issues (T-SQL)

    Script Download: CheckIndexesIssues.zip
    http://gallery.technet.microsoft.com/scriptcenter/Check-database-indexes-b9a19d0f

    This script will demonstrate how to list all the tables in a database with following situations:

    • Tables with no index
    • Tables with no clustered index but with non-clustered index
    • Tables with more indexes than columns 

    We provide this script for people to reference. If someone wants to know tables with no index or clustered index, or tables with more indexes than columns, this script will provide some help. 

    image image
    image

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