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: AlwaysOnDataCollection.ziphttp://gallery.technet.microsoft.com/T-SQL-script-to-capture-add13e98
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
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.
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: 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: 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.