none
get-help on variables that can be used under sub commands RRS feed

  • Question

  • Hi All

    I am sure there is a guy/girl out that that is much more wiser than me and should be able to answer this question with ease.

    Simply I want to know how to see what options are available under certain sub-commands...so as an example

    If i run  

    "get-command set-emailaddresspolicy |get-help" i get the result

    How do i now get additional information under the SYNTAX area for "-RecipientFilter" in this "Set-EmailAddressPolicy" command?
    I want to know what i can filter on eg: Can i filter on DisplayName, Mailbox etc

    So...If using"set-EmailAddressPolicy -ID <PolicyName> -RecipientFilter <This is where i need to find out what i can filter on?????>

    What is the command to get information about -RecipientFilter and the things you can use inside -RecipientFilter

    Thanks...hopefully there is an answer as i have been looking for a while and can't seem to find anything.

    Thursday, September 10, 2015 3:17 PM

Answers

All replies

  • Start by learning how to correctly use the help system.

    Type: help help

    read all of this very carefully and all of your questions will be answered.


    \_(ツ)_/

    Thursday, September 10, 2015 3:22 PM
  • Hi,

    You can do this:


    Get-Help Set-EmailAddressPolicy -Parameter RecipientFilter

    Or this:


    Get-Help Set-EmailAddressPolicy -Full

    My favorite method is this:


    Get-Help Set-EmailAddressPolicy -Online


    • Marked as answer by Kaygol Friday, September 11, 2015 6:36 AM
    Thursday, September 10, 2015 3:23 PM
  • Thanks for this...closer to what i wanted and definitely learnt something.

    If i used -full, at the end the description of the -recipient filter shows

    Accept wildcards : false
    Accept pipeline : false

    What value can i use there and how do i find out what i can filter on eg: -recipientFilter DisplayName OR Mailbox OR Database?

    Thursday, September 10, 2015 4:05 PM
  • You also need to learn to sue your search engine to find extended definitions of Net objects.

    https://technet.microsoft.com/en-us/library/Bb738157(v=EXCHG.150).aspx


    \_(ツ)_/

    • Marked as answer by Kaygol Friday, September 11, 2015 6:36 AM
    Thursday, September 10, 2015 4:34 PM
  • Thanks Guys for the pointers...much more the wiser now.

    You can close this thread

    Friday, September 11, 2015 6:37 AM