We offer two things:
1. Hundreds of automation script samples based on IT Pros' frequently asked IT tasks
2. Script Browser & Script Analyzer tools to ease and improve the script writing
Script of the Day
Script Download: BackupSPFarmExcludingWebApps.ziphttp://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:
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.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Script Download: UPASync-2010.ziphttp://gallery.technet.microsoft.com/Start-User-Profile-4a6a82a9
It can be used to schedule the user profile sync operation or start it after a farm restore operation.
Script Download: NewOSCSPSiteGroup.ziphttp://gallery.technet.microsoft.com/Create-SharePoint-Groups-29637f98
In a real world, you may need to create a lot of SharePoint groups and add many users to this group for some reasons. If there are lots of users, it will be a lot of work for IT Administrators, so they need a script to help them complete this task.
Script Download: DeleteEvilPrintQueueRegKey.ziphttp://gallery.technet.microsoft.com/Script-to-fix-issues-1763321b
Consider the following scenario:
In this scenario, the status of the new print queue is displayed as Offline. To solve this issue, you can use this script to get and remove evil registry key which cause the problem after you delete a print queue but before you add a new print queue of the same name.
Script Download: ListUnusedContentDatabases.ziphttp://gallery.technet.microsoft.com/List-Unused-Content-c078e894
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.