List Mapped drives
I am trying to get list of mapped drives and searched - so far what I've found is not producing the txt file, I cannot get it to work. I have a CIR ShellCommandTextReturn (cmd.exe /c type C:\temp\mapped.txt) and its not returning any result. What am I missing? I am on v5.4.76847.
Community Chosen Answer
I think you will just want to put your command in there directly in lieu of c:\temp\mapped.txt.
ShellCommandTextReturn(cmd /c net use)
I use the above example for a couple of other commands and it works...
It will spit the output in your Custom Inventory Fields section listed in the computer inventory.