In my C# application, I want to check if my NetworkService is added in VMM or not.
For this I am currently creating an instance of runspace and calling the “Get-SCNetworkService”.
But it is taking more than expected time (>4 seconds).
Is there any better way to check whether the NetworkService is added in VMM or not?
Hope anyone can give me a solution for that.
Thanks in advance,
Nupur Sharma
Nupur Sharma