Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is their a way to use New-PnPSite to create a hub site?
Register-SPOHubSite or a PNP version of this command?
Answering my own question, I have used below command to create a hub site:
Required, but never shown