OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

Microsoft All-In-One Script Framework Sample Release on September 27th

Microsoft All-In-One Script Framework Sample Release on September 27th

  • Comments 3
  • Likes

Microsoft All-In-One Script Framework is updated today with 9 new script samples.   These new script samples cover Lync Server, Exchange Server, SharePoint Server, and Office. All of these scripts are written for solving frequently asked IT tasks that our team observed in TechNet forums and Microsoft Support Incidents.  Many customers are asking about these IT scenarios, so we expect that the script samples can save some time for IT Pros.

 

------------------------------------------------------------------------

New Lync Server Script Samples

 

Script to Enable Users and Enterprise Voice in Microsoft Lync Server 2010

http://gallery.technet.microsoft.com/scriptcenter/Script-to-Enable-Users-and-f56306ed

Description: This script could be used to enable users and enterprise voice feature in Microsoft Lync Server 2010. It will help you to generate LineUri and provide a confliction detection mechanism. Also you can assign dial plans and voice policies at the same time. It is recommended to use this script right after deploying a new Lync environment. You need to find another solution or extend this script to support user provisioning.

User Scenarios: With Enterprise Voice, Microsoft Lync Server 2010 delivers a stand-alone Voice over Internet Protocol (VoIP) offering to enhance or replace traditional PBX systems. Enterprise Voice users can call colleagues on your organization’s VoIP network or PBX, and they can call traditional phone numbers outside your organization.  Currently, administrators feel difficulties when they try to enable users and enterprise voice right after deploying a new Lync environment. It requires a lot of work to assign phone numbers (LineUri) to each user. So administrators do need a script to mitigate this problem.

Acknowledgement: Thanks Sean Xiao for collecting the script idea.  Thanks Greg Gu for producing the script sample.  Thanks  Christopher Tart  (Microsoft SR SUPPORT ESCALATION ENGINEER) for reviewing it and improving its quality.

 

Import Contacts for Microsoft Lync 2010 (PowerShell)

http://gallery.technet.microsoft.com/scriptcenter/Import-Contacts-for-Lync-5fe0e671

Description: This script could be used to import custom groups and distribution groups for Microsoft Lync 2010.

User Scenarios: In a real world, IT help desks are often required to add dozens of predefined custom groups or distribution groups for Lync clients in different department. It is a time-consuming task for adding predefined custom group or distribution group for each Lync client.

Acknowledgement: Thanks Anders Wang for collecting this script idea.  Thanks Greg Gu for composing the script.  Thanks Christopher Tart  (Microsoft SR SUPPORT ESCALATION ENGINEER) for reviewing it and improving its quality.

 

------------------------------------------------------------------------

New Exchange Server Script Samples

image

 

Generate report of user mailbox’s size for Exchange 2010 (PowerShell)

http://gallery.technet.microsoft.com/scriptcenter/Generate-report-of-user-e4e9afca

Description: This script could be used to export mailboxes’ information to a CSV file, including SamAccountName, DisplayName, TotalItemSize. Based on these CSV files, script will also generate a report about the variation tendency of user mailbox.

User Scenarios: IT Administrators may care about the size of user’s mailbox.  It’s good for admins to log this size information every day, and create report when admins want to check the variation tendency of user mailbox.

Acknowledgement: Thanks Zifeng Wang for collecting the script topic from TechNet forums.  Thanks Edward Qi for composing the script sample.  Thanks Flo Raharja – Microsoft Escalation Engineer – for reviewing the script sample before we publish it.

 

Create Report for Average Mailbox Size and Item Count per DB in Exchange 2010

http://gallery.technet.microsoft.com/scriptcenter/Create-Report-for-Average-8bbd0467

Description: This script could be used to create report for average mailbox size and item count per database in Microsoft Exchange 2010. Also you can use this script to measure all the properties which can be measured.

User Scenarios: In a real world, IT Administrators may want to know the detail information about Mailbox Database, some of them even require the average mailbox size of each database, and they need these data to manage the exchange server better.

Acknowledgement: Thanks Zifeng Wang for collecting the script idea.  Thanks Greg Gu for writing the script sample.  Thanks Mike Hendrickson for reviewing the sample before it’s published.

 

Remove E-Mail address with Specific Domain Name in Microsoft Exchange 2010

http://gallery.technet.microsoft.com/scriptcenter/Remove-E-Mail-address-with-d716e055

Description: This script could be used to remove E-Mail address with specific domain Name in Microsoft Exchange 2010. This script can remove E-Mail address from mailbox, distribution group and dynamic distribution group.

User Scenarios: In a real world, IT Administrators may want to remove new e-mail addresses due to variety of reasons. If an organization has thousands of recipients, it’s impossible to remove e-mail addresses for these recipients one by one. IT administrators do need a script to complete this task.

Acknowledgement: Thanks Zifeng Wang for collecting the script idea.  Thanks Greg Gu for writing the script sample.  Thanks Mike Hendrickson for reviewing the sample before it’s published.

 

Add Proxy Addresses for Recipients by Using a CSV file in Exchange 2010

http://gallery.technet.microsoft.com/scriptcenter/Add-Proxy-Addresses-for-3a317074

Description: This script could be used to add proxy addresses for recipients by using a CSV file in Microsoft Exchange 2010. You can export the recipients which you want to add new proxy address by using this script also.

User Scenarios: In a real world, IT Administrators may want to add new proxy addresses due to variety of reasons. If an organization has thousands of recipients, it’s impossible to add proxy address for these recipients one by one. IT administrators do need a script to complete this task.

Acknowledgement: Thanks Zifeng Wang for collecting the script idea.  Thanks Greg Gu for writing the script sample.  Thanks Mike Hendrickson for reviewing the sample before it’s published.

 

Manage Large Messages in Microsoft Exchange 2010

http://gallery.technet.microsoft.com/scriptcenter/Manage-Large-Messages-in-f1076d8f

Description: This script could be used to manage large messages in Microsoft Exchange 2010. You can use this script for suspending or resuming large messages. Meanwhile, this script will send notifications to these users who are sending large messages.

User Scenarios:  In a real world, IT administrators may want to find out the users who are sending lager messages. They hope these messages will be delivered at afterhours. Large quantity of newsletter messages is a typical scenario for using this script.

Acknowledgement: Thanks Christy Zhang for collecting this script topic from TechNet forums.  Thanks Greg Gu for composing the script sample.  Thanks Mike Hendrickson for reviewing it.

----------------------------------------------------------------------

New SharePoint Server Script Samples

 

image

 

Get Checkout Files List in Microsoft SharePoint Server 2010 (PowerShell)

http://gallery.technet.microsoft.com/scriptcenter/Get-Checkout-Files-List-in-040002fd

Description: This script could be used to get a list of checkout files from a site collection in Microsoft SharePoint Server 2010. You can also get a list of files which checkout by specific user.

User Scenarios: In a real world, IT administrators often need to get a checkout files list in Microsoft SharePoint Server 2010, especially after the resignation of an employee. It will be a heavy task if they do it manually. It’s better to use a script to generate a checkout files list automatically.

Acknowledgement: Thanks Pengyu Zhao for collecting the script topic from TechNet forums.  Thanks Greg Gu for composing the script sample.  Thanks Nishand Vasudevan from Microsoft  for reviewing the script before it’s published.

 

----------------------------------------------------------------------

New Office Script Samples

 

image

 

Automating Out of Office in Outlook (VBScript)

http://gallery.technet.microsoft.com/scriptcenter/Automating-Out-of-Office-bc0edb1e

Description: This VBScript illustrates how to automate the user's Out of Office state in Outlook.

User Scenarios:  Sometimes user will forget to turn on or turn off the Out of Office assistant, this could be annoying. Using this script will help user to manage his/her Out of Office state automatically.

Acknowledgement: Thanks Rex Zhang for collecting the script idea.  Thanks Cristin Yan for writing the script sample.  Thanks Shaleen Thapa (Microsoft Support Escalation Engineer) for reviewing the script to ensure its quality.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment