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: The script is available for download from http://gallery.technet.microsoft.com/Save-email-messages-in-the-e91ac979. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script demonstrates how to save email messages in the default Drafts folder of a shared mailbox in Office 365 Exchange Online.
Currently, Microsoft Office 365 Exchange Online allows you to create a shared mailbox. A shared mailbox allows a group of users to view and send e-mail from a common mailbox. But the email messages sent by these users on behalf of the shared mailbox actually appear in their Sent Items folder by default. You may want to use a script to save email messages in the default Draft folder of shared mailbox. Then you can send these email messages later and these email messages can be viewed by these uses.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Script Download: The script is available for download from http://gallery.technet.microsoft.com/Get-the-statics-of-a-user-14587c9e. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script will generate a report about the sent items of a user mailbox.
This script is to help Exchange Administrators to generate a utilization report of a user mailbox. The report will contain the number of mails sent out the previous day together with the recipient number of such sent emails.
Script Download: The script is available for download from http://gallery.technet.microsoft.com/Check-and-Disable-the-f28403cc. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This sample can help you to resolve the issue "'OnlyUseLatestCLR' breaks Exchange on SBS 2011 Standard" which is described in KB 2616444. It shows how to check and disable the .Net Framework "OnlyUseLatestCLR" setting on the Exchange Servers by using PowerShell script.
The "OnlyUseLatestCLR" registry value can be used in compatibility testing scenarios when developing managed code applications, but should never be created on a production server. "OnlyUseLatestCLR" with .Net Framework 4.0 installed forces Exchange 2010 managed code to execute in the 4.0 CLR, which it was not designed to do. To resolve this issue, you can use this script to check and disable the .Net Framework "OnlyUseLatestCLR" setting on the Exchange Servers.
Script Download: The script is available for download from http://gallery.technet.microsoft.com/Get-the-information-of-9fcf67d7. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This T-SQL script will demo how to get the information of used/free space of all SQL Server databases in an instance.
As some people asked how to get the used or free space of all database in a SQL Server, this script will demo how to get the following information:
Script Download: The script is available for download from http://gallery.technet.microsoft.com/Generate-an-SAS-token-of-6c30e3f5. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
generate an SAS token of container or blob that uses a stored access policy.
Shared Access Signature is a powerful way to grant client limited permissions to blobs, queues, or tables for a specified period of time, without having to share our account access keys. This script can easily help us generate an SAS token of container or blob that uses a stored access policy.