wmi - How to call a method with output parameters in PowerShell? -


I'm starting to work on a script I try to calculate the mapped network drive on a remote Windows computer I am here.

One of the tasks is to use the remote to read the registry and explore the process owner of the explorer. Which has been logged. It's going to be quite easy.

However, I have a WMI method that requires calling, which requires two output parameters to store the return value.

Do I call a method with output parameter? When I try to give it two strings, then I get an error: The overload for "GetOwner" can not be found and the logic number: "2". . The MSDN page says there are two criteria, so I'm not sure what I'm doing.

[referee] modifier use

  some mode ([ref ] $ A);  

Notable blog entries


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -