New install, Imports fine, "Exception calling .ctor with 0 args" for "Hello World!"

Apr 2, 2013 at 6:33 PM
Subject just about says it all. Server 2008R2, installed module to user directory, Import-Module in profile imports ShowUI without error. But, I try "Hello World!" and get this:
PS C:\Users\Public\Documents\PowerShell> New-Label -Content "Hello World!" -Show
New-Label : Exception calling ".ctor" with "0" argument(s): "The calling thread must be STA, because many UI components
 require this."
At line:1 char:10
+ New-Label <<<<  -Content "Hello World!" -Show
    + CategoryInfo          : NotSpecified: (:) [New-Label], RuntimeException
    + FullyQualifiedErrorId : EmbeddedProcessRecordError,AutoGenerateCmdlets2119179637.NewLabelCommand
Any ideas? Do I need the WPK (from 2009!) as well as ShowUI?

Also, how can I get this Importing for all users? I unblocked it and added it to $psHome\Modules, but errors abound upon import.
Coordinator
Apr 3, 2013 at 4:27 AM
In PowerShell 2 you need to start Powershell with the -STA switch in order to use ShowUI -- I recommend just adding that to your shortcuts and running it that way all the time. I'm not aware of it any problems ever caused by doing so, and in PowerShell 3 they switched to using -STA as the default.