Hello Sir,
I am really impressed by your answers.
It is a great lesson for me. Thank you.
I understand better the need to adapt the same ThreadingModel between WMI and PS.
Also,I naively transposed a vbs in PS code forgetting to think about. But even thinking, I would never think of invke-wmimethod.
Thank you really much for all these explanations.
Respectfully.
Noel