Skip to content

Instantly share code, notes, and snippets.

@hapylestat
Created August 14, 2013 11:38
Show Gist options
  • Save hapylestat/6230271 to your computer and use it in GitHub Desktop.
Save hapylestat/6230271 to your computer and use it in GitHub Desktop.
Check apartment state of currently started ps-environment
[threading.thread]::CurrentThread.GetApartmentState()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment