You can then add a tag to each of the instances with its actual hostname. You can remote execute the command using powershell if you have the password for the remote machine. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How can I see the windows computer name for an ec2 instance without logging in via RDP?
Ask Question. Asked 7 years, 3 months ago. Active 6 years, 1 month ago. Viewed 10k times. With the local IP both do. Improve this question. Modify github. Nothing on boto. Add a comment.
Active Oldest Votes. Improve this answer. CarlR CarlR 4 4 silver badges 8 8 bronze badges. Community Bot 1. Barak Barak 2 2 silver badges 9 9 bronze badges. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Is there any alternative or workaround command that can do the job for me?? On windows the computer name is also often referred to as hostname. However this creates some confusion. Some people use the term hostname to refer to the leftmost part of domain name which can only be set on a DNS server. However another meaning of a hostname is just an arbitrary label assigned to a machine on a computer network, and this can be directly changed on the specific machine.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. Asked 6 years ago. Active 6 years ago. Viewed 11k times. I am using Windows Server R2 amazon ec2 machine. Community Bot 1 1 1 silver badge. Add a comment.
Active Oldest Votes. There are several ways to change the computer name from the command line on windows Method 1. Jimski Jimski 6 6 silver badges 20 20 bronze badges. Sign up or log in Sign up using Google.
0コメント