Partager via


QuickRef–Powershell-Get Exchange services except IMAP4 and POP3

 

get-service *Exchange* | ? {-not ($_.name -like "*IMAP4*") -and -not ($_.name -like "*POP*")}

 

Notes:

“?” is the alias for “Where-Object”

CommandType     Name                                                Definition
-----------     ----                                                ----------
Alias           ?                                                   Where-Object