ananace / fog-hyperv

Hyper-V provider for fog
MIT License
8 stars 1 forks source link

Convert read operations over to WQL queries where applicable #1

Open ananace opened 7 years ago

ananace commented 7 years ago

Launching the PS cmdlets for talking to Hyper-V takes quite a bit longer than just running the raw WMI queries to get the same information, so figuring out a series of queries to get the same data would be helpful.

There aren't any WMI RPC gems available from what I can see, so the cmdlets would still be used for all write operations.

Possible Models;

Possible Requests;

No idea which is these would actually be helped by having them as raw WMI queries, and which would just be more work than it's worth. It's also very possible that it'd be better to ignore WMI completely and just work on implementing faster cmdlet queries.