Следуйте инструкциям в видео ниже, чтобы узнать, как установить наш сайт как веб-приложение на главный экран вашего устройства.
Примечание: this_feature_currently_requires_accessing_site_using_safari
Get-ManagementRole "MyVoiceMail" | Format-Table Name, IsEndUserRole
New-ManagementRoleAssignment -Role "MyVoiceMail" -Policy "Sales end-users"
Set-ServerComponentState MAIL2 –Component HubTransport –State Draining –Requester Maintenance
Redirect-Message -Server MAIL2 -Target mail1.rew.local
Suspend-ClusterNode –Name MAIL2
Set-MailboxServer MAIL2 –DatabaseCopyActivationDisabledAndMoveNow $true
Set-ServerComponentState MAIL2 -Component ServerWideOffline –State InActive –Requester Maintenance
setup.exe /prepareschema /IAcceptExchangeServerLicenseTerms
setup.exe /preparead /IAcceptExchangeServerLicenseTerms
setup.exe /PrepareDomain /IAcceptExchangeServerLicenseTerms
setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms_DiagnosticDataON
Resume-ClusterNode –Name MAIL2
Set-MailboxServer MAIL2 –DatabaseCopyAutoActivationPolicy Unrestricted
Set-MailboxServer MAIL2 –DatabaseCopyActivationDisabledAndMoveNow $false
Set-ServerComponentState MAIL2 –Component HubTransport –State Active –Requester Maintenance
.\RedistributeActiveDatabases.ps1 –DagName DAGNAME –BalanceDbsByActivationPreference –confirm: $false
Set-ServerComponentState MAIL2 -Component ServerWideOffline -State Active -Requester Maintenance
Get-ServerComponentState MAIL2 -Component ServerWideOffline
Test-ReplicationHealth -Identity MAIL2
Get-TransportService | Get-MessageTrackingLog -Start "10/15/2022 11:00:00" -End "10/18/2022 11:00:00" -ResultSize Unlimited | where {[string]$_.recipients -like "*@mail.ru"} | Select-Object Timestamp,Sender,{$_.Recipients},MessageSubject,ReturnPath,{$_.RecipientStatus},Source,EventId,InternalMessageId,MessageId,NetworkMessageId | Export-Csv C:\DomainFile01.csv -NoTypeInformation
Get-TransportService | Get-MessageTrackingLog -Recipients MyAlias@adatum.com -Start "10/15/2022 11:00:00" -End "10/18/2022 11:00:00" -ResultSize Unlimited | where {($_.EventID -eq "RECEIVE") -and ($_.Recipients -eq "MyAlias@adatum.com")} | sort Timestamp -Descending | Select-Object Timestamp,Sender,{$_.Recipients},MessageSubject,MessageId,ReturnPath | Export-Csv C:\AliasFile02.csv -NoTypeInformation
Get-TransportService | Get-MessageTrackingLog -Sender BOSS@adatum.com -Recipients Vladimir@adatum.com -MessageSubject "Urgent task from CEO" | Select-Object -First 1 | fl Sender,Recipients,MessageSubject,MessageID
$Temp = Search-MessageTrackingReport -Identity Vladimir@adatum.com -Sender BOSS@adatum.com -MessageId dq23765f1c2b7035ad61821ba332hfa4@adatum.com -BypassDelegateChecking -DoNotResolve
Get-MessageTrackingReport -Identity $Temp.MessageTrackingReportID -ReportTemplate RecipientPath -RecipientPathFilter Vladimir@adatum.com -BypassDelegateChecking
New-Throttlingpolicy "Increased ActiveSync Devices" -EasMaxDevices 20 -EasMaxConcurrency 20
Set-Mailbox username -ThrottlingPolicy "Increased ActiveSync Devices"
Get-MailBox -Identity user@domen.ru | Search-Mailbox -SearchQuery attachment:'secret word' -DeleteContent
Get-Mailbox -ResultSize Unlimited -Filter {EmailAddresses -like "username@domain.com"} | Sort-Object Name
Name lastlogontimestampGet-ADUser -filter {enabled -eq $false} -Properties LastLogonTimeStamp -SearchBase ‘OU=Users,OU=OFFICE,OU=Main,DC=domen,DC=local’ | Select-Object Name, @{N='LastLogonTimeStamp '; E={[DateTime]::FromFileTime($_.LastLogonTimeStamp )}}| Sort LastLogonTimeStamp
Внутри скрипта есть количество дней старше которых логи удалять (надо выставить по вкусу). Так же логика работы понятна.C:\Program Files\Microsoft\Exchange Server\V15\Logging\
С:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\ETLTraces\