hostname | Microsoft Learn
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/hostname
WebFeb 3, 2023 · Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012. Displays the host name portion of the full computer name of the computer. This command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in the properties of a network …
DA: 47 PA: 13 MOZ Rank: 74