Home > Exchange Server > Changelog: New-DirectoryUpdateReminder.ps1

Changelog: New-DirectoryUpdateReminder.ps1

This is the changelog page for New-DirectoryUpdateReminder.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.7 – 01-27-2014

  1. -noprofile switch added to install routine
  2. bug fix for demo mode where the check for title wasn’t working
  3. comment help cleaned up

v1.5 – 09-02-2011

  1. converted code to PowerShell v2, including New-MailMessage, comment based help, etc.
  2. Exchange 2010 support
  3. moved most variables to param block
  4. install routine for scheduled task
  5. email preview mode

v1.4 – 03-27-2010

  1. use registry for last run info

v1.3 – 01-15-2010

  1. optimized $MBXArray a little more

v1.2 – 10-16-2009

  1. added filter to prompt when manager is disabled

v1.0 – 05-14-2009

  1. initial version
  1. TN
    October 13th, 2011 at 18:11 | #1

    Pat, I recently found this site and really enjoy the content. Thank you for sharing your talent and knowledge.

    When running this script, I ran into a couple of issues…

    …One, I think there is a missing ‘)’ near the end of line 142 or there are too many ‘(‘ on the same line. Either way, I able to address this item fairly easily. (See the first message below)

    …Two, when I run the script, it returns a ” ‘Get-User’ is not recognized ” error. I am new-ish to PowerShell and don’t know if I am running the commands correctly or from the correct folder. (See the second and third messages below)

    Any assistance would be appreciated. Thank you.

    Todd

    +++++

    PS C:\PowerShellScripts\New-DirectoryUpdateReminder> .\New-DirectoryUpdateReminder.ps1 -demo
    Missing closing ‘)’ in expression.
    At C:\PowerShellScripts\New-DirectoryUpdateReminder\New-DirectoryUpdateReminder.ps1:142 char:266
    + $MBXArray = Get-User -resultsize unlimited | ? {(($_.RecipientTypeDetails -match ‘UserMailbox’) -and (($_.Office -eq ”) -or ($_.PostalCode -eq ”) -or ($_.StreetAddress -eq
    ”) -or ($_Title -eq ”) -or ($_.Manager -eq ”) -or ($_.Manager -match ‘Disabled Users’)) <<< .\New-DirectoryUpdateReminder.ps1 -demo
    The term ‘Get-User’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that t
    he path is correct and try again.
    At C:\PowerShellScripts\New-DirectoryUpdateReminder\New-DirectoryUpdateReminder.ps1:142 char:22
    + $MBXArray = Get-User <<< .\New-DirectoryUpdateReminder.ps1 -Preview -PreviewUser test1
    The term ‘Get-User’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that t
    he path is correct and try again.
    At C:\PowerShellScripts\New-DirectoryUpdateReminder\New-DirectoryUpdateReminder.ps1:144 char:22
    + $MBXArray = Get-User <<<< $PreviewUser
    + CategoryInfo : ObjectNotFound: (Get-User:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    • Pat Richard
      October 13th, 2011 at 18:39 | #2

      After you get the error, do a Get-Module and see if ActiveDirectory is listed. Look in the comment header and grab my email address, and let me know the results via email.

      • TN
        October 14th, 2011 at 00:02 | #3

        I figured it out. Merely an over site after a long day. I was running the script in PowerShell instead of EMS. Sorry to bother you.

        Great script!

        • TN
          October 14th, 2011 at 00:05 | #4

          EMC… See what I mean.

  1. No trackbacks yet.