• [Script of Sep. 9] Backup a Farm excluding a web application using PowerShell

    Script Download: BackupSPFarmExcludingWebApps.zip
    http://gallery.technet.microsoft.com/Backup-a-Farm-excluding-a-c971864d

    This script performs a Full Backup for all components (as mentioned below) of SharePoint Farm except Web Applications.
    Components which would be backed up:

    • Farm Solutions
    • InfoPath Forms Services
    • SharePoint Server State Service / SharePoint Server State Service Proxy
    • Microsoft SharePoint Foundation User Code
    • Global Search Settings
    • Application Registry Service
    • Farm Shared Services
    • Service Applications / Service Applications Proxies

    In a real world, customers would like to have an ability to backup entire SharePoint farm except web applications as web applications could be backed up separately or using other backup utilities like DPM etc.

    image image
    image

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

  • [Script of Sep. 6] How to verify if an ADObject such as user, group exists (PowerShell)

    Script Download: OSCforwardingAddress(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Get-or-Remove-forwarding-9943efc6

    This script could be used verify if an ADObject such as user,group exists.

    Test if a specific user, computer, group, OU already exists in your  domain.

    image image
    image

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

  • [Script of Sep. 5] Remove Notes Pages in PowerPoint (VBScript)

    Script Download: RemoveNotes.zip
    http://gallery.technet.microsoft.com/scriptcenter/Remove-Notes-Pages-in-28b70642

    This VBS demo illustrates how to remove notes pages in PowerPoint 2003 and the later version.

    Removing notes pages in PowerPoint is a frequently asked question by users in the Answers forums. For example,
    • Remove slide numbers from PowerPoint notes pages using VBA.
    • VBA shut off for PowerPoint 2007 Notes Page Header.
    image image
    image

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

  • [Script of Sep. 4] Script to fix issues described in KB947215 (PowerShell)

    Script Download: FixIssuesDescribedinKB947215(PowerShell).zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-fix-issues-ab65f43e

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

    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 Sep. 3] Pre-Provision SharePoint 2010 MySite (PowerShell)

    Script Download: CreatePersonalSite.zip
    http://gallery.technet.microsoft.com/scriptcenter/Pre-Provision-SharePoint-ec781ee9

    This PowerShell script shows how to Pre-Provision SharePoint 2010 MySite.

    Each user's personal MySite will be automatically  created when the user himself click the button "My Site"/"My Profile" first time, this will make user wait several seconds/minutes until the his MySite site creation is finished, it can save some time (or better experience) for users with using PowerShell to provision the users' MySites previously.

    image image
    image

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