This is a simple guide to perform an adsync full or delta sync trough powershell First, import the module: Import-Module ADSync Then, you could two way. First a Delta import Start-ADSyncSyncCycle -PolicyType Delta Secondly is a full import Start-ADSyncSyncCycle -PolicyType Initial Finally, you could check the scheduler to see when the sync will happen . …
Tag: Powershell
Request and assign a wilcard certificate to Exchange 2013-2019
A simple guide to request and generate a wilcard cert to your Exchange Server trough power shell. In the case, this is the official Microsoft guide. Get-ExchangeCertificate | select Thumbprint, Services, NotAfter, Subject, CertificateDomains | where {$_.Services -match “IIS”} | fl Now we need to generate a new cert request. this is the command: New-ExchangeCertificate …
Connect to whole Microsoft’s cloud services. Microsoft 365 Admin Center, Azure Active Directory, Skype for Business Online,Teams, SharePoint Online, Security & Compliance Center, Exchange Online – Updated!
First install the Windows Management Framework 5.1 https://www.microsoft.com/en-us/download/details.aspx?id=54616 Microsoft 365 admin center First, download “Microsoft Online Services Sign-In Assistant for IT Professionals RTW” from this link: https://www.microsoft.com/en-us/download/details.aspx?id=41950 Install it. Now, if you want to connect to “Connect with the Microsoft Azure Active” do this: Set-ExecutionPolicy RemoteSigned Install-Module MSOnline If you have a warning …
Back Pressure and Exchange stop delivering
Usually Exchange stops delivering becouse the system runs down of resources.. This is the Microsoft reference “https://docs.microsoft.com/it-it/exchange/mail-flow/back-pressure?view=exchserver-2019” This is an example of Event: “Microsoft Exchange Transport is rejecting message submissions because the available disk space has dropped below the configured threshold…” Command to check the “pressure” : [xml]$bp=Get-ExchangeDiagnosticInfo -Process EdgeTransport -Component ResourceThrottling; $bp.Diagnostics.Components.ResourceThrottling.ResourceTracker.ResourceMeter Ok We …
Decommissioning Exchange 2010 server in a Hybrid environments – The fastest way..
This guide considers the fastest way to decommission an Exchange server in Hybrid deployment so i consider some point as implied. So first we need to move al obbjects to the cloud …Take in mind that all must have the “onmicorosoft.com” domain. Go to Address rule polices and add it Now our objects has the …
How to show meeting details of a Room mailbox
In our environments, we have a Room Mailbox called “Sala riunioni”. now get its details with this command: Get-MailboxFolderPermission -Identity “Sala riunioni:\calendar” |fl At this point we need to add to default users the rights to read the “limiteddetails” . With this settings, anyone can read who has created the appointment and the subject. this …
Manage Office 365 global spam filter
First, connect to your tenant Get-HostedContentFilterPolicy |fl We need to manage the AllowedSenderDomains field. Issue this command to see the situation … Get-HostedContentFilterPolicy |fl AllowedSenderDomains If you want to expant it do this: Get-HostedContentFilterPolicy | select -ExpandProperty AllowedSenderDomains To filter it and show only the domains list use this command: Get-HostedContentFilterPolicy | select -ExpandProperty AllowedSenderDomains …
How to add “DynamicDistributionList” to your GAL in the “All Distribution Lists”
I’ve noticed that , sometimes, the Dynamic Distribution List aren’t populated on the GAL. First issue this command to see who is in.. Get-AddressList As you can see, there isn’t DynamicDistributionList on the All Distribution Lists . So issue this command to add it: Set-AddressList -Identity “All Distribution Lists” -RecipientFilter { Alias -ne $null -and ObjectCategory -like …
Users cannot connect to POP3 or IMAP4 on Exchange Server 2013 or Exchange Server 2016
A customer call me with a problem downloading emails with POP3s from his Exchange server 2013. This was the error from his application server: [04/09/2018][15:15][xxxxx](101764): CSvMailbox::ControllaCasella – Logon: fatture.xxxxxx@xxxxxxxx.it, Mailbox: fatture.xxxxxx@xxxxxxxx.it, [04/09/2018][15:15][xxxxx](101764): Operation: Logon – Error: 0x80004005– xxxxxxx.xxxxxxxSSLPopsException: Remote host disconnected during SSL negotiation. After a quick check in with the eventviewer with no results, I switched to the Exchange’s …