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: OSCforwardingAddress(PowerShell).ziphttp://gallery.technet.microsoft.com/scriptcenter/Get-or-Remove-forwarding-9943efc6
In most exchange environment, the administrator will set forwarding and redirecting on some users. But when we need to remove those old accounts that have not been used, we should first find how many mailboxes had set the forwarding address to those old accounts. As it is a property in Get-Mailbox, we can use a script to list those mailbox names, then we can remove those relationship as well.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Script Download: CheckBackupToSingleFile.ziphttp://gallery.technet.microsoft.com/scriptcenter/Check-database-backups-4d65f7c2
This script can be used to detect the database backups appended to existing backup devices problems.
Script Download: CheckBackuptoSingleFile.ziphttp://gallery.technet.microsoft.com/scriptcenter/Check-database-backups-a38c64a7
We can use Get-OSCBackupToSingleFile to identify the database backups appended to existing backup devices and then list the affected databases. By default, this script uses Windows Authentication to connect to your SQL Server. If you want to use SQL Server Authentication, just uncomment some code in this script.
Script Download: CheckBackuptoSingleFile.ziphttp://gallery.technet.microsoft.com/scriptcenter/Check-SQL-Server-database-e88b0cf5
Script Download: ChangeLyncAppPoolsVersion.ziphttp://gallery.technet.microsoft.com/scriptcenter/Use-the-NET-Framework-20-c1064cdb
By default, the .NET Framework Version setting is v4.0 for the Lync Server 2010 application pools when you install Lync Server 2010 on a Windows Server 2012-based computer. However, the Lync Server 2010 web services use the Microsoft .NET Framework 2.0. In this scenario, you may receive an error message that resembles the following:“404.17 - Not Found” The requested content appears to be script and will not be served by the static file handler.To resolve this issue, configure all the Lync Server 2010 application pools to use the .NET Framework 2.0.