Domanda di colloquio di Kroll

Some obfuscated PowerShell was shown and I was asked how would I go about decoding it.