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

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.

September 10th, 2015 11:18am

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

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 11:24am

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.

September 10th, 2015 11:24am

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?

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 12:06pm

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

September 10th, 2015 12:36pm

Thanks Guys for the pointers...much more the wiser now.

You can close this thread

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 2:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics