Set-ActiveSyncMailboxPolicy -identity “POLICYNAME” -MaxInactivityTimeDeviceLock:00:00:00
This script allows you to use instant “lock” on your phone…
Set-ActiveSyncMailboxPolicy -identity “POLICYNAME” -MaxInactivityTimeDeviceLock:00:00:00
This script allows you to use instant “lock” on your phone…
get-mailbox -ResultSize Unlimited | where {$_.RecipientType -eq [Microsoft.Exchange.Data.Directory.Recipient.RecipientType]::UserMailbox } | update-safelist
Set Public folder primary SMTP address:
Set-MailPublicFolder -Identity PublicFolder@contoso.com -PrimarySmtpAddress info@contoso.com
Set Public folder permissions
Add-PublicFolderClientPermission -Identity “\public@folder.com” -User Username -AccessRights Editor
Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $True -Enabled $True -RejectionResponse “Your IP is blacklisted! http://www.spamhaus.org“
This script adds new provider called zen.spamhaus.org, makes lookups to zen.spamhaus.org and it works on any reply (127.0.0.1,2 …), it does enable this provider and it sets response that is sent to sender.