Friday , March 29 2024
Home - craig

craig

Rescue 3CX Bad IP Whitelist for Management Console Access

Had to rescue a 3CX management console where the Whitelist IP address had changed and kept getting access denied with good credentials.  The following process gave temporary access to change the Whitelist/Restricted IP address. Caveats: 3CX hosted in Azure 3CX running Linux Didn’t know the Root password Steps: Using Azure portal create a new root account using “Support + troubleshooting …

Read More »

Which TLS to use?

With the recent changes to TLS support in Office 365 and PowerShell there are times you need to update your TLS settings to force the best and/or only support versions.  Times I’ve been hit with install-module not working in PowerShell sessions.  Normally this works fix the issue connecting to NuGet: [crayon-6605a183abd0e519824701/] But there is a better way to use the …

Read More »

Easy Find OU in a DistinguishedName with PowerShell

There are a couple of ways to find the OU of an Object, some are long-winded ways splitting and counting characters.  The best way I’ve come up with for a quick and case insensitive check: [crayon-6605a183acec5270858211/] A better example of the use in code: [crayon-6605a183acecd627962656/] The Case Culture fixes up the compare of string being a different case of “OU=”, …

Read More »

Times you need to cut and Paste within VMWare ESXi Hosts

I use the RDP session cut and paste all the time to get files to remote servers but this is not an option to servers in the DMZ hosted on VMWare ESxi.  It seems the answer is easy when you enable a similar function in VMWare ESXi console.  Cut and paste made easy at last! The how to is listed …

Read More »

The pain of TLS 1.2 with PowerShell module for Azure Active Directory (MSOnline)

Building labs in a hurry sometimes can bite you with recent changes in Office 365 connections.  I just got hit with a problem with PowerShell module for Azure Active Directory not connecting: [crayon-6605a183acfbf600654811/] The problem relates to the connection type from a very unpatched (on purpose) Windows 2016 lab server for developing a Powershell script against Azure AD.  While working out …

Read More »

How to use DNS Pin Point instead Split Horizon – the easy way!

Background on the DNS issue faced There are times when DNS split horizon is required to point an ‘A’ record to an internal address however this normally requires you to duplicate every record in the zone on the internal DNS server.  For example autodiscover.company.com without needing the whole domain of company.com being duplicated on the internal DNS servers. An example …

Read More »

How To Change Your Office 365 App Password

If you are enabled for Multi-Factor Authentication (MFA) in Office 365 then you will need an App Password for some applications that do not support MFA. The user interface for creating a new App Password is well hidden in Office 365 (its not on the Password page for example). Here is how to find it now: The user logs into …

Read More »

Quickly Adding Active Directory Group Members using a LDAP filter

There are times when you need a quick one-liner to add Active Directory group membership based on users selected by some data. In this case I needed to move AD users into AD Distribution lists based on their email (mail attribute) externally managed information. The following script finds the users be looking at the LDAP filter of mail = *@domaintochek.com …

Read More »

How to remove the SMTP Service from Windows 2012 R2

Exchange Server 2013

How to remove the SMTP Service from Windows 2012 R2… Had to install a SMTP gateway on a Windows 2012 R2 host which already had OS SMTP service installed for testing a firewall.  Normally, I would have removed via Windows Features/Roles system but the option to remove feature wad greyed out.  However, using PowerShell I was able to remove the service with …

Read More »

Mac Outlook 2016 Screen/View Crashed and Flashing black

The Outlook 2016 client has been trusted workhorse for email since the full release.  However the latest version 15.17.1 seemed to have a strange flashing and crashed view window.  It even lost the header and was unable to show a preview plane.  The solution was easy fix without hurting the mail profile. Run up Terminal window on the MAC: Type: defaults …

Read More »