SharePoint 2019 on premise – Save list as template


In previous versions of SP you were able to save a list / library as a template. This function has been removed. Is there PS command that I may use or another to I achieve this?