I've been dabbling in Powershell (2.0) for the past several months and would love to use it to modernize and standardize some of the processes at work - mostly DOS based processes. Because of the nature of the work, there could be around 100 executions of the same script(s) going at once.
First--Is Powershell "safe" to use in this manner? I have seen -STA as an execution option - is that the preferred method of working with Powershell when executing a good number of the same script simultaneously, or is that something that is only used when absolutely necessary? In my searching, I haven't really come up with an answer for "When should I use apartment state?" I believe most if not all of the scripting I intend to do will not be threaded.
Thanks in advance for anyone who can shed light on Powershell apartment state!