Why does the command
get-mailbox -servername "MyExgServer" not work
where
get-mailbox -server "MyExgServer" does work?
Would this be because the -server is the object of an exchange server and the -servername is a property of the Mailbox that is returned. Perhaps I need to use a where-object statement.
get-mailbox | Where-Object {$_.servername -eq "MyExgServer"}
Just wanting to understand the difference in approach