Office 365: Allow Mail Relay Through Exchange Online
KB ID 0001480 Problem If you are used to running ‘on-prem’ Exchange then allowing an IP/Hostname to relay mail (sent mail through without authenticating) it’s handy for things like older multifunction scanners, or applications that need to send emails. Now you SHOULD be sending mail through Office 365 ‘authenticated’, but that’s not always possible. Solution From Office 365,Launch The Exchange admin...
Install and Use a Windows TFTP Server
Windows TFTP KB ID 0000063 Problem Note: If you are using a mac, then seee the following link; MAC OS X TFTP Software There are many free tftp applications, my personal favourite is 3Cdaemon, as it also has a built in syslog server and an FTP server. heres how to install it on your computer. There are a number of places you can download 3CDeamon or just CLICK HERE Deploy a windows TFTP Server Download the files and extract them to...
ASDM on Windows 10: ‘Cannot find Javaw.exe?’
KB ID 0001478 Problem Windows 10 machine, (with Latest Java installed), while attempting to launch the ASDM you see; Windows cannot find ‘javaw.exe’. Make sure you typed the name correctly, and then try again. Solution I should have fixed this a lot quicker than I did, because the error message was a lot more descriptive in older versions of Windows and the ASDM! This is the same problem seen on Windows 8. You still need...
PowerShell: Bulk Add/Remove Users From Groups
KB ID 0001475 Problem I had to do this a few weeks ago, so I documented it. I had a list of usernames in a CSV file and I needed to bulk-add them to a security group. Bulk Add Group Users Solution Firstly you will need the usernames (sAMAccountNames) in .csv format like so, (Note: As a header Im using User-Name.) I’ve saved the file to C:\Temp on my server. Execute the following commands; Import-Module ActiveDirectory ...
Cisco AnyConnect With Server 2016 NPAS (RADIUS) Different Groups
KB ID 0001474 Problem A few years ago I replaced a firewall that was setup like this, and while it took me a while to work out what was going on, I remember thinking it was an elegant solution. Fast forward to today, and I’m now working with the guy who set it up! (Kudos to Paul White). So when I had a client with a similar requirement, I sat down fired up the lab, and documented it. What was used; Windows 10 Remote Client...
PowerShell: Bulk Enable / Disable Users
KB ID 0001469 Problem I needed to work out how to bulk disable some domain users from a .CSV file this week, so I thought I’d write it up. Disable Domain Users in Bulk from CSV Well firstly, you need to have your users in a CSV file. For the live job I just exported all the SamAccountNames to a CSV, but here for testing I just loaded a few in manually; Then execute the following two commands; Import-Module ActiveDirectory ...
Exchange and the LegacyExchangeDN Problem
KB ID 0001468 Problem Why do we have the Exchange LegacyDN? It’s a throwback, from a time when we had our users, and our mail users in different databases. Below you can see the ExchangeLegacyDN for this Exchange on-premises user; /O=First Organisation/OU=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn={something-user-specific} Who cares? Well they are still important, if you send an internal email (to someone...
Forward Mail From Exchange (On-Prem) To Office 365
KB ID 0001467 Problem WARNING: Do not do this, if you are carrying out a Hybrid migration to Office 365! I’ve been doing an On-Prem to Office 365 migration recently. It was a little unusual because the ‘on-prem’ Exchange was not in the clients domain. So rather than migrate all the mail to their domain, and them migrate it to Office 365 we chose to use a third party migration solution ODME (Quest On Demand Migration...
Office 365: Grant a User Full Mailbox Access to all Mailboxes
KB ID 0001466 Problem Obviously there are some security concerns about having a user with full mailbox access to all mailboxes! But that aside, I was using a third party Migration tool last week, and it needed to connect to every mailbox with full access rights to perform the migration. So this is how I did it; Solution Firstly you need to connect to your Office 365 tenant with PowerShell; Connect to Office 365 Exchange PowerShell Now...
Exchange 2019 / 2016 Manage Remotely via PowerShell
KB ID 0001465 Problem Since Exchange 2013 we have been able to manage Exchange remotely through the Exchange Admin Center, but what if you want to use the Exchange Management Shell remotely? Install Exchange Management Tools This is not just the Management Shell, this will also install the Toolbox and additional help. There are few prerequisites, but to install from a normal PowerShell prompt; Enable-WindowsOptionalFeature -Online...