• [Script of May 20] How to get mount point volume list from a specified physical path

    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 PowerShell script sample shows how to list all volume mount points in Windows.

    Some users need a script to list volume point mounts which are created in Disk Management. Otherwise, users need to manually get them from Disk Management one by one. So this script sample can easily help users to do it.

    image image
     image

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

  • [Script of May 19] How to add a site list to Enterprise Mode in Internet Explorer 11

    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 sample shows how to add a site list to Enterprise Mode. 

    Enterprise Mode is a new feature in Internet Explorer that allows businesses to use old web applications in modern versions of IE. It is a compatibility mode that runs on Internet Explorer 11 on Windows 8.1. In a way, if we want to open multiple sites as Enterprise Mode, we have to set it manually. Actually we can add multiple sites to your Enterprise Mode site list by creating a XML file of problematic sites, and with use this script to add site list to Enterprise Mode.

    image image
     image

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

  • [Script of May 27] How to export multiple Visio pages to png file(VBA)

    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 VBA sample shows how to convert Visio page file to .png file.

    Many companies generate technical visuals in Microsoft Visio and would like to be able to share this information on their corporate sites. The problem, however, is that most users would not be able to view the visuals in this format. One of the ways of solving this problem is converting Visio diagrams to a more universal format like PNG.  But doing it manually would be time consuming, this sample can help us to batch convert Visio files, it would be very convenient.

    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