PS v1 command to list users with the ""Automatically update e-mail addresses..." not checked.


i looking ps cmlet, or script, or whatever, list users "automatically update e-mail addresses based on e-mail policy" check mark removed. have looked @ cmlets can find , don't see option.

thanks.

hi,

maybe can try:

get-mailbox | { $_.emailaddresspolicyenabled -eq $false }

?

hope helps.
grégory schiro - powershell & mof


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL