How to Locate your Computer Name
Windows
For Windows 10
Hit the Windows key on your keyboard
Type computer
Right-click on This PC
Select Properties
The name is displayed in the PC/Computer name field.
For Windows 11
Hit the Windows key on your keyboard
Type about.
The name will be displayed at the top .
If you are NOT able to log into the computer you can still check the computer name. From the login screen, opt to login as Other User. Inputting ".\" in the User Name field will display the name of the computer directly below the Password field.
Mac
Select System Preferences
Click on the Sharing pane.
Your computer name is listed at the top of the new window.