You can hide the Searchbox that appears in the navigation bar using the following powershell
Posts about PowerShell, a task-based command-line shell and scripting language built on .NET.
You can hide the Searchbox that appears in the navigation bar using the following powershell
Get to know ShaprePoint Field Definition Schema and how to use it with PnP Powershell