• [Script of Nov 30th] Remove orphaned SIDs from File/Folder ACL (PowerShell)

    Script Download: ReomveSIDFromACL.zip
    http://gallery.technet.microsoft.com/scriptcenter/Remove-orphaned-SIDs-from-2231b1f0 

    This script is used to remove orphaned SIDs from File/Folder ACL.

    Sometimes, the objects are removed, but the orphaned SIDs are remained​ under security tab. The orphaned SIDs are annoying.

     

    image image
    image image

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

  • [Script of Nov 29th] Script to add Windows Gadget to user profile (PowerShell)

    Script Download: AddWindowsGadgetToUserProfile.zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-add-Windows-c35ab4fd 

    This PowerShell script demo illustrates how to add windows gadget to user profile.

     

    image image
    image image

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

  • [Script of Nov 28th] Update Users Display Name after Enabling Forms-based Authentication (FBA) in SPS

    Script Download: UpdateFBAUserDisplayname.zip
    http://gallery.technet.microsoft.com/scriptcenter/Update-Users-Display-Name-f32f5a52 

    This script updates users display name after enabling Forms-based authentication (FBA) in Microsoft SharePoint Server 2010.

    After enabling form-based authentication, you may want to change users display name to friendly ones.  Nowadays, you may notice that some display names are showed in this form, i:0#.f|membership|username. Suppose you need to manage a large number of site collections with FBA enabled, change display names will be a time-consuming task for you.

     

    image image
    image image

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

  • [Script of Nov 27th] Set User Profile Picture in Microsoft SharePoint Server 2010

    Script Download: SetOSCSPUserPicture.zip
    http://gallery.technet.microsoft.com/scriptcenter/Set-User-Profile-Picture-1cdbe171

    This script changes user profile picture in Microsoft SharePoint Server 2010. It finds user profile pictures from specified picture library. After finding the pictures, it uses User Profile Manager to change PictureUrl property for each user who has user profile.

    Under some circumstances, administrators may manage user pictures manually without enabling User Profile Synchronization Service. It indicates that the pictures will not be imported from external systems. They need to find a way to help HR specialist to import user profile picture for each user.

     

    image image
    image image

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

  • [Script of Nov 26th] List Unused Content Databases using PowerShell

    Script Download: ListUnusedContentDatabases.zip
    http://gallery.technet.microsoft.com/scriptcenter/List-Unused-Content-c078e894/

    This script can be used to list your unused SharePoint content databases. It can also be used to list used content databases or all content databases.

    By default, we can use Get-SPContentDatabase to retrieve SharePoint content databases. But this can only list the database that’s status is Ready. The content database cannot be listed if its status is Offline.

     

    image image
    image image

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