Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Get Computer Name

$
0
0

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:

$env:computername


Viewing all articles
Browse latest Browse all 3333

Trending Articles