Please check this…this is exactly similar to what you need…invoke powershell has an output variable that can be used
In this table is extracted
Similarly for your case five the command you need and whatever would be the output in console you will get same in variable with appropriate type…you can print and check
I have used the same command and argument type however I didn’t get the required output.
I want to extract local user list from a VM by using powershell activity.
I have used same get process example of tutorial it’s giving fine output but I wants to run get local user command for this same argument type i have used but its giving me error for argument type which is system.diagnostic.process …its for get process what should be for get local user ???
I have tried this but I am not getting array of while browsing, please guide where I can get array of System.managment.automation.securityaccountmanager.localuser
I am getting error plz find attached photo i want to extract username of remote desktop(VM) manually which we get running command line get-localuser using powershell i want those to extract using UiPath