Windows Vista Forums

Clean WindowsEmailAddress user value
  1. #1


    Minniti Sergio Guest

    Clean WindowsEmailAddress user value

    Hi, I have written these simple script lines in PowerShell:



    ##
    $User = "0743159"
    $excUser = get-mailbox -identity $User
    $excPrimarySmtpAddress = $excUser.PrimarySmtpAddress
    Set-User -identity $User -WindowsEmailAddress ""
    ##

    How can I do to clean WindowsEmailAddress value ? I have found in Internet
    two methods: using PQuest tools and another using vbscript, but I would do
    not like to use of these methods. I would like to use PowerShell method.
    Thank you very much for your support. I wait your answer.


      My System SpecsSystem Spec

  2. #2


    mayayana Guest

    Re: Clean WindowsEmailAddress user value

    You were already told 3 days ago that you are in the wrong
    group. This group is for VBScript. PowerShell is not VBScript.
    The group for PowerShell is here:

    microsoft.public.windows.powershell

    > Hi, I have written these simple script lines in PowerShell:



      My System SpecsSystem Spec

Clean WindowsEmailAddress user value problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
disable-mailuser doesn't remove WindowsEmailAddress Tim Munro PowerShell 3 16 Oct 2009
Clean WindowsEmailAddress user value Minniti Sergio PowerShell 3 08 May 2009
for user that have the driver problem driver. How do we clean inst GT Vista installation & setup 1 22 Mar 2008
Remove WindowsEmailAddress? Karl Mitschke PowerShell 4 11 Feb 2008
BUG in Vista disk clean-up utility: current user temporary files BillD Vista General 10 14 Sep 2007