How do I get the localhost (machine) name in PowerShell? I am using PowerShell 1.0. 10 Answers 10 Tags: .netpowershell