src/hostname.ps1
#!/usr/bin/env pwsh $ErrorActionPreference = "Stop" Set-StrictMode -Version Latest # See: https://www.gnu.org/software/coreutils/manual/html_node/hostname-invocation.html function hostname { [System.Net.Dns]::GetHostName() } |