Disable clutter for all users in Office 365

Clutter for Office 365 is an inbuilt tool for sorting emails. Clutter will determine which emails are a low priority and automatically move them to a folder named ‘clutter’ in your mailbox. Clutter will analyse your habits and based on your previous behaviour and will ‘tidy’ up your emails you are likely to ignore. Here […]

Read More

Virtual domain controller time out of sync

In this scenario you have a virtual machine configured as a domain controller in which the time will ‘desync’ consistently for the clients after being updated. For virtual machines that are configured as domain controllers, it is recommended that you disable time synchronization between the host system and guest operating system acting as a domain […]

Read More

Fix winmail.dat email issue, disabled TNEF for Office 365

How to stop Office 365 sending winmail.dat attachments to a non Microsoft mail client (Mac mail or Thunderbird for example). This is often due to Office 365 or Exchange sending emails in a proprietary format named TNEF (Transport Neutral Encapsulation Format) that only other Microsoft clients accept. This can be disabled for your tenant via […]

Read More

Set and modify Office 365 Calendar permissions via powershell

With the following powershell commands you can easily set and modify Office 365 calendar permission, you will need to enter the command in order: 1. $Cred = Get-Credential (Login as your Office 365 admin account when prompted) 2. $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection 3 .Import-PSSession $s 4. add-MailboxFolderPermission […]

Read More

Show the current bad password count for an Active Directory user

Use this powershell script to display the current bad password count for all Active Directory user accounts: # Import active directory modules import-module activedirectory; # Get all domain controllers $dcs = get-adcomputer -filter * -searchbase “ou=domain controllers,dc=kamal,dc=local”; # Get all users – change “-filter {enabled -eq $true}” to a username to get just one user […]

Read More

View when an Active Directory account password will expire

How to find out when an Active Directory user account password is due to expire, here is a easy powershell script which will display when each users AD account is due to expire: Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} -Properties “DisplayName”, “msDS-UserPasswordExpiryTimeComputed” | Select-Object -Property “Displayname”,@{Name=”ExpiryDate”;Expression={[datetime]::FromFileTime($_.”msDS-UserPasswordExpiryTimeComputed”)}}

Read More