PS C:\Users\slee> Import-WinModule microsoft.powershell.management
PS C:\Users\slee> "hello" | Set-Clipboard
When the runspace is set to use the current thread, the apartment state in the invocation settings must match that of the current thread.
+ CategoryInfo : NotSpecified: (:) [], InvalidOperationException
+ FullyQualifiedErrorId : RemotePSInvocationStateInfoReason
+ PSComputerName : localhost