• [Script of Aug. 29] Check database backups appended to existing backup devices problems (VBS)

    Script Download: CheckBackupToSingleFile.zip
    http://gallery.technet.microsoft.com/scriptcenter/Check-database-backups-4d65f7c2

    The backup history for SQL Server database indicates that backups are getting appended to existing backup devices. This increases the risk of losing all the backups when the backup device gets damaged. Also the performance of backups and restoring operations might be degraded when several backups are appended to one another on the same backup device that resides on a remote server and accessed over the network. Review the backup history information stored in msdb database and configure your backup scripts or solution to store backups in individual backup devices.

    This script can be used to detect the database backups appended to existing backup devices problems.

    image image
    image

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

  • [Script of Oct. 9] Get a List of Installed Application from computers (PowerShell)

    Script Download: GetInstalledApplicationInfo(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Enable-or-disable-Control-d6d33550

    This PowerShell script shows how to get a list of installed application on local or remote computers.

    If IT admins upgrade operating system and want to list the installed application on every computer.  It’s very handy to have a list the programs installed. This script can do it.

    image image
    image

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

  • [Script of Jan. 31] Set DNS Server Search Order for Multiple Computers in an Organizational Unit

    Script Download: SetDNSServerSearchOrder.zip
    http://gallery.technet.microsoft.com/scriptcenter/Set-DNS-Server-Search-6a3e3ede 

    This script allows you to retrieve or set DNS server search order for multiple computers that belong to one organizational unit. It will only modify the DNS server search order for the network adaptors with static DNS Server search order.

    When you replace an old DNS Server by a new one, IT administrators often want to retrieve a list of computers that are using old DNS Server. After getting the list of these servers, IT administrators also need to replace the old DNS Server search order with the new one.

    image image
     image

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

  • [Script of Feb. 3] How to verify if an OU exists (VBScript)

    Script Download: VBSFindOU.zip 
    http://gallery.technet.microsoft.com/scriptcenter/How-to-verify-if-an-OU-b0317c33 

    This VBScript illustrates how to check or verify if an Active Directory (AD) Organizational Unit (OU) exists.

    If we bind to a particular OU that does not exist using VBScript, the script terminates with object not found exception. Using this sample script we can verify the existence of required OU before we perform some operation on respective OU.

    image image
     image

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

  • [Script of Feb. 4] Change window border,desktop icon spacing,desktop background color and wallpaper

    Script Download: ChangeDesktopIconSize.zip
    http://gallery.technet.microsoft.com/scriptcenter/Change-window-borderdesktop-609a6fb2  

    This sample demonstrates how to change the window border, desktop icon spacing, desktop background color, and wallpaper by using PowerShell script. This script completes the tasks by using P/Invoke to call Windows API functions.

    IT administrators can use this script to adjust desktop appearance for a group of computers to keep a consistent user experience.

    image image
     image

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