none
Exclude property name label in output RRS feed

  • Question

  • Suppose i was selecting only a particular property from a pipeline output , but i just want the data which excludes the property name label is it possible ?

    Example : Get-mailbox xyz@abc.com | select servername

    the output is in the following format :

    servername

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

    mbx1.abc.com

    Instead of that i just want mbx1.abc.com to be in the output  without servename .

    Tuesday, February 5, 2013 7:18 AM

Answers

  • I got it  was impulsive in asking the question .. thanks

    step 1: $a = Get-mailbox xyz@abc.com | select servername

    Step 2: $a.servername


    • Edited by Adhrit Tuesday, February 5, 2013 7:24 AM
    • Marked as answer by Adhrit Tuesday, February 5, 2013 5:36 PM
    Tuesday, February 5, 2013 7:23 AM