r/PowerShell • • Mar 15 '16

¯\_(ツ)_/¯

function Get-AsciiShrug {
    $OutputEncoding = [System.Text.Encoding]::unicode
    write-output "¯_($(0x30C4|%{[char]$_}))_/¯" | clip
}
144 Upvotes

48 comments sorted by

View all comments

Show parent comments

2

u/da_chicken Mar 15 '16

No need for the loop:

[int[]][char[]]'ಠ_ಠ' -join ', '

[char[]]@(3232,95,3232) -join ''

1

u/gangstanthony Mar 15 '16

thanks, I'll update.