Agent Actions and quotes
-
Hi,
Do " get stripped out of parameters when calling an Action via Object Tools? I am trying to run a netsh command which requires me to place the interface name in quotes, but the command is not working and the command is logged without quotes in the agent log (debug level 7). The command also seems to be cut short, (presumably related to the quotes).
I have an action that triggers the following:
cmd /c $1and I am passing
netsh interface ipv4 show subinterface interface="Ethernet 2"The log then tells me it is executing this:
cmd /c netsh interface ipv4 show subinterface interface=EthernetAnd the result is that the command of course doesn't work as expected.
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login