Scripts

A colleague asked me the other day if I have a “list of all of the awesome scripts you’ve created” (thanks, Devin). I put this together quickly, and will try to update it and add more descriptive information soon.

Exchange Server scripts

Set-Exchange2010Features.ps1 v3.2
Install the prerequisites for Exchange 2010 on Windows 2008 R2.

Set-Exchange2010FilterConfig.ps1 v2.0
Configure the Filter Pack for Exchange 2010

Set-Exchange2010RedirectSSL.ps1 v1.2 (10-19-2011)
Configure SSL settings and folder redirection for Exchange 2010

Add-BadWordsFromFile.ps1
Import a list of bad words from a file for the Exchange 2010 content filter.

Hide-InternetNewsgroups.ps1
Hide the Internet Newsgroups folder from appearing in the Public Folder list of Exchange Server.

Add-Cmdlets2Dictionary.ps1
Add Exchange 2007 and/or 2010 cmdlets to the Microsoft Word dictionary

DAG-InstallRollup.ps1
Script for installing update rollups on DAG servers

New-WelcomeEmail.ps1 v1.3
Automatically sends an informative, HTML formatted email to a user once their mailbox is created.

AutoApplyMRMPolicy.ps1
Automatically apply an MRM policy to mailboxes upon creation

Update-MobileNumber.ps1
Update the Global Address Book when a user adds a new ActiveSync device

New-DirectoryUpdateReminder.ps1 v1.5 (10-03-2011)
Remind users to update their Active Directory information

New-PasswordReminder.ps1 v2.4 (01-14-2012)
Sends an informative, HTML formatted email to users whose password is soon expiring. This is useful for those users who are mobile only and don’t get the conventional notices.

Exchange Server one liners

  1. one liners: Finding users with forwarding addresses set
  2. one liners: See failed inbound messages for the past few days
  3. one liners: Restarting stopped services
  4. one liners: Finding users who have Send-As or Full Access permissions to mailboxes
  5. one liners: Setting the default language and time zone for OWA
  6. one liners: Exporting distribution list membership to Excel

Lync Server 2010 scripts

Set-Lync2010Features.ps1 v5.3
Install the prerequisites and many additional features, configurations, and add-ons for Lync Server 2010.

Get-CsConnections.ps1 v1.3
Lists connections per Lync Server 2010 Front End server in a pool, load balancing distribution, and per user connections

Lync Server 2010 one liners

  1. one liners: Finding out which Lync pool servers a user is associated with, and the preferred connection order
  2. one liners: Finding AD disabled accounts who are still Lync enabled
  3. one liners: Setting recovery option to ‘restart’ for Lync services

Misc

Set-WindowsEmailAddress.ps1 v1.1 (10-01-2011)
Update the WindowsEmailAddress field of users in environments WITHOUT Exchange server.

New-LoopbackAdapter.ps1 v1.0
Create and configure a loopback adapter for use with Direct Server Return hardware load balancing.

New-HandBrakeConversion.ps1 v1.3 (10-04-2011)
Process entire folders of video files through HandBrake to convert them to iTunes format.

  1. Huseyin Unal
    March 4, 2012 at 3:43 pm | #1

    Hi Pat, I’ d like to say thank you so much indeed for your amazing scripts. There’s no doubt that exchange server administrators deeply grateful to you! Cheers

  2. U. P. B. Michael
    May 7, 2012 at 6:10 am | #2

    Many thanks for your script which make things easier and saves time as well.
    Thanks again, great work.

  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">