• [Script of Dec. 24] Create User Collections Based on User Groups in System Center 2012

    Script Download: 22236.zip
    http://gallery.technet.microsoft.com/scriptcenter/Create-User-Collections-45608dc9

    This script shows how to create user collections based user groups in System Center 2012 Configuration Manager SP1.

    Currently, you often need to create user collections based on user groups in Active Directory. After that, you can deploy applications and packages for specific users. Usually an Active Directory contains a lot of user groups, but it's a time consuming task to create collections based on user groups in SCCM console.

    So you need to use a script to reduce your workload.

    image image
     image

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

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

    Script Download: 22229.zip
    http://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-user-246f17c7

    This PowerShell Script 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

  • [Script of Dec. 20] How to get Best Practice Analyzer result in Windows Server 2012

    Script Download: 22228.zip
    http://gallery.technet.microsoft.com/scriptcenter/How-to-get-Best-Practice-46c6fbcc

    This PowerShell script shows how to get Best Practice Analyzer result.

    Best Practices Analyzer (BPA) is a server management tool that is available in Windows Server 2012. BPA can help administrators reduce best practice violations by scanning roles that are installed on managed servers that are running Windows Server 2012. This script is based on BPA PowerShell model to get specific BPA model result.

    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

  • [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