If you are looking for a command called netsh on macOS, it simply . Netsh (Network Shell) is a proprietary utility exclusive to Microsoft Windows. Attempting to run it in the macOS Terminal will result in a "command not found" error.
Technically, you could:
Learn networksetup and the standard UNIX networking commands instead. In most cases, they’re more direct and less verbose than their Windows counterparts. netsh macos