Open OmgImAlexis opened 2 years ago
@OmgImAlexis thank you for pointing me to this! First research about that:
WBEM_FLAG_RETURN_IMMEDIATE
seems to be enabled by defaultWBEM_FLAG_FORWARD_ONLY
is not enabled ...
but at the moment unclear how to pass it into a powershell command ... current idea is to create a special function for that. Need make some experiments ... I anyway need to refactor mostly all WMIC calls ...So as I am kind of offline for the next few days I will start working on it next weekend. Then I also can share TS refactoring, ...
@sebhildebrandt have you looked into
WBEM_FLAG_RETURN_IMMEDIATE
andWBEM_FLAG_FORWARD_ONLY
for speeding up WMIC commands?https://docs.microsoft.com/en-us/windows/win32/wmisdk/improving-enumeration-performance?redirectedfrom=MSDN