• [Script of Apr. 30] How to add application installation condition (Query WMI) in SCCM 2012 SP1

    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 scripts shows how to add an application installation condition (Query WMI) in System Center 2012 Configuration Manager SP1.

    Suppose you are a SCCM administrator of a large company, you need to deploy software to devices provided by different vendors. You can add conditions to a task sequence step to make sure applications are deployed to the right devices. But a task sequence may contain multiple steps requiring to add conditions; it’s not easy to find the steps in task sequence editor. So you want to use a script to ease your work.

    image image
     image

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

  • [Script of Apr. 16] How to reset OWA auto-complete cache in Exchange Online (Powershell)

    Script Download: 29948.zip
    http://gallery.technet.microsoft.com/How-to-reset-OWA-auto-5b2b3d3b

    This script is used to remove deleted mailboxes' address from all mailboxes' autocomplete list in OWA.

    This script is used to remove deleted mailboxes' address from all mailboxes' autocomplete list in OWA, Recipient Cache and Suggested Contacts.

    image image
     image

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

  • [Script of Apr. 15] How to export multiple Visio pages to png file (VBScript)

    Script Download: VBScript.zip
    http://gallery.technet.microsoft.com/How-to-export-multiple-6a80db79

    This VBScript 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 Apr. 8] How to break the locked lease of blob storage in Windows Azure (PowerShell)

    Script Download: 31633.zip
    http://gallery.technet.microsoft.com/How-to-break-the-locked-c2cd6492

    This PowerShell script sample shows how to break the locked lease of blob storage in Windows Azure.

    Windows Azure provides functionality to acquire lock on blobs to avoid concurrent writes to blobs.  Sometimes, if the backup fails due to prolonged or sustained network connectivity failure, the backup process may not be able gain access to the blob and the blob may remain orphaned. This means that the blob cannot be written to or deleted until the lease is released.  In this case, you might want to break the lease on a blob. This script can help you.

    image image
     image

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

  • [Script of Apr. 29] How to Document a Task Sequence in System Center 2012 Configuration Manager SP1

    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 can document a Task Sequence in System Center 2012 Configuration Manager SP1.

    Currently, you can create many task sequences to deploy multiple Operating Systems. Then you can modify these task sequences to add additional steps or conditions to provide a better deployment experience. After that you want to document the details of these task sequences. These documentations are part of standard operating procedures (SOPs).

    image image
     image

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