• [Script of Apr. 2] Batch removes the Read-Only attribute of multiple files in Windows 8 (VBScript)

    Script Download:BatchRemoveReadOnlyAttribute(VBScript).zip 
    http://gallery.technet.microsoft.com/scriptcenter/Batch-removes-the-Read-cd121ff5

    This VBScript sample shows how to batch remove the Read-Only attribute of multiple files in Windows 8.

    Batch removes the Read-Only attribute of multiple files is a frequently asked question in many public forums.

    image image
    image

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

  • [Script of Apr. 3] Complete the Reporting Services with SharePoint Integration configuration

    Script Download: IntegrateSSRSToSharePoint.zip
    http://gallery.technet.microsoft.com/scriptcenter/Complete-the-Reporting-0971816b

    This Windows PowerShell script achieves the same function as we to complete configure the Reporting Services integrate to SharePoint in SharePoint Central Administration. This script applies to SQL Server Reporting Services 2008 R2 or SQL Server Reporting Services 2008 integrate to SharePoint 2010.

    When we need to configure SQL Server Reporting Services in SharePoint integrated mode, after installed and configured both SQL Server Reporting Services side and SharePoint side, in traditional way, we need to bind the report server URL and set authentication type in the SharePoint Central Administration.  Actually, we can also easily set these steps by using script. It is suitable for bellowing two conditions:
    • Never integrated any SQL Server Reporting Services to this SharePoint.
    • Had ever integrated SQL Server Reporting Services to this SharePoint, need to integrate one new SQL Server Reporting Services to this SharePoint. 
    image image
    image

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

  • [Script of Apr. 4] Script to fix issues described in KB947215 (VBScript)

    Script Download: FixIssuesDescribedinKB947215(VBScript).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-fix-issues-3bbe6635

    his sample can help you resolve the issue, “You receive a 'The User Profile Service failed the logon' error message”. This script shows how to list user SID information and delete invalid SID registry keys by using the VBScript.

    When you log on to a Windows 7-based or a Windows Vista-based computer by using a temporary profile, you receive the following error message: The User Profile Service failed the logon. User profile cannot be loaded.

    To resolve this issue, use the script described in this sample to remove the invalid SID registry key.

    image image
    image

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

  • [Script of Apr. 5] How to remove users from a site that have a specific permission level

    Script Download:RemoveSPsiteUsers.zip
    http://gallery.technet.microsoft.com/scriptcenter/How-to-remove-users-from-a-d792858b

    This PowerShell script shows how to remove users from a site that have a specified permission level.

    You cannot remove users from a site by using the UI and it is difficult to find all users that have a specific permission level.

    image image
    image

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

  • [Script of Apr. 8] Script to display the deleted objects in Active Directory (PowerShell)

    Script Download:DisplayDeletedADObjects.zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-display-the-c995a5f6

    This PowerShell script sample can display the deleted objects from the Active Directory. 

    Accidental deletion of Active Directory objects is a common occurrence for users of ADDS and ADLDS. This script can display the deleted objects from the Active Directory Recycle Bin. 

    image image
    image

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