PowerShell Emojis (& Unicode)

Take 📎, which is U+1F4CE in Unicode.

PowerShell 5.1 / ISE

# get integer value of the unicode hex code
$int = [System.Convert]::toInt32("1F4CE",16)
[System.Char]::ConvertFromUtf32($int)

or in one line:

[System.Char]::ConvertFromUtf32([System.Convert]::toInt32("1F4CE",16))

i.e. [System.Char]::ConvertFromUtf32(128206)

PowerShell 7

Write-Host `u{1F4CE}

source