

The – restart switch will restart the system after rename. In command, Win10 is the new name of my computer. Then type “ Rename-Computer -NewName Win10 -Restart” and press enter. The Rename-Computer PowerShell command works exactly for changing a computer name.įirs type “ hostname” command to know the current computer name. In the network, if the computer name is not related to computer, it should be changed to find it easy. When your Windows installation has finished, at the final step ask you to set a name. So let’s do it step by step with Windows PowerShell. You should enable network discovery, enable the firewall, viewing shared files, and connecting to the share a folder or create a map network drive. Some commands are really needed to execute in Powershell. I prefer to use Powershell rather than a command prompt. Both of them works perfectly for this article. In Windows, you can do it with command prompt or Powershell. Preferably, you need to know the basic of command-line interfaces. With the following command line guide, you can do more than share files using the command line. Networking task has much command-line utility which works like a charm. To share files using command line and manipulating is faster and more professional then GUI.
