Win32_Service bit me again
When I wrote few weeks ago about my gotcha with Win32_Service
little I knew it is a journey to begin. Here’s next part.
After previous trip to wonderland I was taking extra caution when doing anything with types. But this time I faced, …, different values for the same parameters. Let’s explore the StartMode
parameter. When you use Create
you can use Automatic
as a value (among others) based on the documentation. One might expect the same value when reading this parameter from instance, right? Even the values in documentation look the same. Well, almost. Our particular value there is Auto
not Automatic
. Go figure.
I have a feeling this is not the last confusion I’ll face.