• [Script Of Nov. 24] How to clear the Run box history in Windows

    Nov.
    24
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-clear-the-Run-box-9c9a2dbf.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This script sample shows how to clear the Run box history in Windows.

    When we run a application through Win + R, there will be a record in Run box. However if there are too many records, it will be a little terrible. This script is to delete some or all of the records in Run box.

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

  • [Script Of Nov. 25] How to delete the "Windows.old" folder in Windows 8

    Nov.
    25
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-delete-the-f362d9ad.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This script shows how to delete the "Windows.old" folder in Windows 8.

    Assume that you perform a refresh of Windows 8, an upgrade to Windows 8, a custom installation of Windows 8 without formatting the drive, or install Windows 8 on the same partition of a previous Windows installation. In this situation, you may have a "C:\Windows.old" folder left over after your new installation. This folder contains a copy of the previous Windows 8 installation, and can be very large. If users do not have to have this folder, they can use a script to delete the folder.

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

  • [Script Of Nov. 26] How to get information about all SQL Server instances on a local server

    Nov.
    26
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-get-information-0d13d8d8.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This PowerShell script will demo how to get information about all the SQL Server instances on a local server.

    As many people ask how to get information about instances, this script will list all the information about instances on a local server.

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

  • [Script Of Nov. 27] How to remove a node from web.config file of a web application

    Nov.
    27
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-remove-a-node-from-25cb24c4.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    The script will help to remove a node in web.config file of a web application in SharePoint.

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

  • [Script Of Nov. 28] How to find the location of a locked out user account in Active Directory

    Nov.
    28
    image
    image

    Script Download:  
    The script is available for download from https://gallery.technet.microsoft.com//How-to-find-the-location-64db1fbe.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

    This PowerShell script shows how to find the location of a locked out user account in domain.

    There are many reasons causing accounts to be locked out. The user has logged onto another machine, and not logged off. Then, if the user has changed their password while the other machine is logged in, it could be requesting resources using the old (and now incorrect) password. Every time it tries to get a network resource that requires authentication it will cause a bad password attempt. This script can scan where the location of a locked out user account is.

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