PowerTip: Use PowerShell to Get Computer Name

Doctor Scripto

Dr Scripto

Summary: Use Windows PowerShell to get your computer name.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily retrieve my computer name?

Hey, Scripting Guy! Answer Use the environmental variable ComputerName:



Comments are closed. Login to edit/delete your existing comments