Powershell – add custom attributes to Active Directory schema using PowerShell only

active-directorypowershellwindows-server-2016

I have a Windows Server 2016 Standard with no desktop experience installed. I want to expand the Active Directory schema with custom attributes. I can do it on a desktop environment using MMC without issues. Can I do it using PowerShell only?