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: 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.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Script Download: CreateSiteFromCustomWebTemplates.ziphttp://gallery.technet.microsoft.com/scriptcenter/Creating-SharePoint-2010-5969ba16
We have saved the existing team site as template. The template is saved into the disk. We want to create new site collection based on this template using PowerShell.
Script Download: ImportSiteColumnsFromXML.ziphttp://gallery.technet.microsoft.com/scriptcenter/Recreate-Columns-using-XML-79a570fa
This script takes into account the fact that two OOB fields are already deleted from affected site collection. I dumped out the XML schema for these deleted fields in “ImportSiteColumnsXML.xml” file from some other working site collection using PowerShell or SharePoint Manager and the actual script “ImportSiteColumnsFromXML.ps1” uses this schema file and attempts to re-create the deleted fields.
Script Download: Add'lockshutrestart'ToContext(PowerShell).ziphttp://gallery.technet.microsoft.com/scriptcenter/Add-Restart-Shutdown-Sleep-152dbdea
It will be more convenient if there are "restart", "shutdown", "sleep" and "lock" in context menu.
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.