Learn about Windows PowerShell
Summary: Learn how to create a 16-bit integer array.
How can I specify the number 1 as a 16-bit integer array?
Cast the number as an integer, and then specify the array.
$a=[int16[]][int16]1
Why do you need the second cast?
$a=[int16[]]1
seems to work just fine...