EM 12c, 13c: 'echo %username%' Command Returns Windows Service Account Name Instead Of Username Used In Credentials Tab From OS Command Job Output
(Doc ID 2482027.1)
Last updated on OCTOBER 10, 2019
Applies to:Enterprise Manager Base Platform - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
'echo %username' command returns Windows service account name instead of username used in credentials from OS Command job output.
Login to Em console, Enterprise --> Job --> Activity --> Create Job, select Job Type as OS Command
Click on Add and select Window host
In parameters section, provide 'echo %username%' as command on Target Host and Click Submit.
In credentials section, provide credentials to execute the above command and submit the Job.
The above job output returns Windows service account name instead of username used in credentials section.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document