• [Script of Dec. 16] How to check if Active Directory user password is expired on specified days

    Script Download:  22208.zip
    http://gallery.technet.microsoft.com/How-to-check-if-Active-f27b7d39

    This PowerShell Script shows how to use Windows PowerShell to check if user account password is expired.

    In many cases, IT admins always encounter a fair number of tickets were related to problems with a user’s password. Often it had expired and they were having issues resetting it and needed to logon immediately. This script can scan all users account and check if user account password is expired.

    image image
     image

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

  • [Script of Dec. 25] Enumerate Conditions in an OS Deployment Task Sequence in System Center

    Script Download: 22237.zip
    http://gallery.technet.microsoft.com/scriptcenter/Enumerate-Conditions-in-an-defd82d2

    This script can enumerate conditions in an operating system deployment (OSD) task sequence in System Center 2012 Configuration Manager SP1.

    Currently, you can create many task sequences to deploy multiple Operating Systems. Then you can configure conditions in an Operating System Deployment Task Sequence for specific reasons. It’s not an easy task to troubleshooting task sequences after multiple conditions are configured. So you need a script to enumerate task sequence conditions for troubleshooting.

    image image
     image

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

  • [Script of Dec. 4] Backup Windows product key in Windows 8 (PowerShell)

    Script Download: 22253.zip
    http://gallery.technet.microsoft.com/Backup-Windows-product-key-b41468c2

    This PowerShell script sample shows how to get and backup Windows product key in Windows 8 or higher version.

    Sometimes a user may want to reinstall operating system, but he does not know the current Windows product key. This script can solve that.

    image image
    image

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

  • [Script of Dec. 18] How to set User's Logon hours based on admin's requirement (PowerShell)

    Script Download: 22226.zip
    http://gallery.technet.microsoft.com/How-to-set-Users-Logon-1bb4b1a2

    This PowerShell Script shows how to set active directory user’s logon time.

    Sometimes IT admins want to set the user account logon hours to restrict user logon time. This script can help to do it.

    image image
     image

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

  • [Script of Dec. 19] Get Active Directory user account last logged on time (VBScript)

    Script Download: 22227.zip
    http://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-user-527fe3f3

    This VBScript shows how to use Windows PowerShell to determine the last time that a user logged on to the system.

    In some cases, IT admins want to statistics of user last logon time information. This Windows PowerShell script will help IT admins to determine the last time that a user logged on to the system.

    image image
     image

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